Skip to content

Commit

Permalink
feat: added Github action for lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Aliaksei authored and Aliaksei committed Nov 12, 2024
1 parent 1bab213 commit 759b2a8
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ on:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20']
steps:
- name: Set Node.js 20.x
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Install dependencies
run: npm install --package-lock-only

- name: Lint
run: npm run lint
node-version: ${{ matrix.node-version }}
- run: npm install --package-lock-only
- run: npm run lint

0 comments on commit 759b2a8

Please sign in to comment.