Skip to content

Commit

Permalink
ci: move check-node-version to separate step
Browse files Browse the repository at this point in the history
  • Loading branch information
onebytegone committed May 3, 2024
1 parent c7948f7 commit dc7d1b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
node-version-file: '.nvmrc'
- run: npm i -g [email protected]
- run: npm ci
- run: npm run check-node-version
- run: npm run standards
test:
needs: [ build ]
Expand All @@ -31,6 +32,5 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm i -g [email protected]
- run: npm ci # Reinstall the dependencies to ensure they install with the current version of node
- run: npm ci # Reinstall the dependencies to ensure they install with the node's version of npm
- run: npm test

0 comments on commit dc7d1b9

Please sign in to comment.