Skip to content

Commit

Permalink
Only install when needed by lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
lapo-luchini committed Apr 28, 2024
1 parent ee8643f commit 8dc103c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test all
- run: npm install
if: matrix.node-version == 'latest'
- run: npm run lint
if: matrix.node-version == 'latest'

0 comments on commit 8dc103c

Please sign in to comment.