Skip to content

Commit

Permalink
Add cache to actions/setup-node@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii Kirmas committed Sep 20, 2021
1 parent 4c3e6ad commit fc01c53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
# https://docs.github.com/en/[email protected]/actions/guides/building-and-testing-nodejs#example-caching-dependencies
cache: npm
- name: Cache node modules
uses: actions/cache@v2
env:
Expand Down

0 comments on commit fc01c53

Please sign in to comment.