Skip to content

Commit

Permalink
feat(actions): use cache for actions/setup-node (#1017)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Aug 2, 2021
1 parent cefd1ee commit fb4ff11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm --global install npm@latest
- run: npm ci
- run: npm run lint
Expand Down
1 change: 1 addition & 0 deletions test/__snapshots__/init.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: \${{ matrix.node-version }}
cache: \\"npm\\"
- run: npm --global install npm@latest
- run: npm ci
- run: npm run lint
Expand Down

0 comments on commit fb4ff11

Please sign in to comment.