1
0
mirror of https://github.com/lensapp/lens.git synced 2024-09-19 05:17:22 +03:00
lens/.github/workflows/linter.yml
Sebastian Malton f2f23109ba feat: Add lint pass to prevent future issues
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-12 14:28:54 -04:00

33 lines
736 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 deps
run: npm install
- name: Lint
run: npm run lint
- name: Verify Publish Configurations
run: ./scripts/lint-publish-configs.sh