Skip to content

Commit

Permalink
chore: only lint on node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
jeswr committed Sep 21, 2024
1 parent 2ea23a1 commit c6999af
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,24 @@ jobs:
- uses: actions/checkout@v4
- run: npm ci --ignore-scripts
- run: npm run build
- run: npm run lint
- run: npm run test


lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [22.x]
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: actions/checkout@v4
- run: npm ci --ignore-scripts
- run: npm run build
- run: npm run lint

spec:
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -60,6 +75,7 @@ jobs:
- test
- spec
- docs
- lint
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
Expand Down

0 comments on commit c6999af

Please sign in to comment.