1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/.github/workflows/linter.yml
Gabriel 6bf1544ddb chore: Support and switch to using ^9.6.7 version of NPM
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-23 14:17:18 -04:00

39 lines
919 B
YAML

name: Lint Repo
on:
- pull_request
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout Release from lens
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Using Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install specific npm version
run: npm install -g npm@^9.6.7
- name: Install deps
run: npm install
- name: Lint
run: npm run lint
- name: Verify Publish Configurations
run: ./scripts/lint-publish-configs.sh
- name: Verify No Duplicate Dependencies
run: ./scripts/lint-package-dependencies.sh