Skip to content

Commit

Permalink
fixup! build(ci): cache downloaded npm dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Sep 7, 2023
1 parent ec847ae commit d604541
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ jobs:
with:
node-version: ${{ matrix.node }}
architecture: ${{ matrix.arch }}
cache: 'npm'
- run: npm install
- run: npm run lint
cache: 'pnpm'
- run: pnpm install
- run: pnpm run lint
if:
matrix.os == 'ubuntu-latest' && matrix.node == 20 && matrix.arch ==
'x64'
- run: npm test
- run: pnpm test
- run: |
id=$(node -e "console.log(crypto.randomBytes(16).toString('hex'))")
Expand Down

0 comments on commit d604541

Please sign in to comment.