Skip to content

Commit

Permalink
chore(deps): actions/setup-node yarn cache (#789)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera authored Sep 7, 2021
1 parent e5795b5 commit a652bd9
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,7 @@ jobs:
uses: actions/setup-node@v2.4.0
with:
node-version: ${{ matrix.node-version }}
- name: Set Node.js packages yarn cache directory
id: yarn-cache-dir
run: echo ::set-output name=CACHE_DIR::$(yarn cache dir)
- name: Node.js yarn cache
uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir.outputs.CACHE_DIR }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn
cache: yarn
- name: Node.js modules cache
uses: actions/cache@v2
id: modules-cache
Expand Down

0 comments on commit a652bd9

Please sign in to comment.