Skip to content

Commit

Permalink
Add Node.js module caching to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeKjaer committed Dec 15, 2020
1 parent 6762914 commit 5a57716
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- run: yarn
- run: yarn build
- run: yarn test
Expand Down

0 comments on commit 5a57716

Please sign in to comment.