Skip to content

Commit

Permalink
Use new yarn cache
Browse files Browse the repository at this point in the history
  • Loading branch information
timmo001 committed Nov 9, 2021
1 parent 66f53f3 commit 5b20286
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,19 +178,10 @@ jobs:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v2.4.0
- name: 🏗 Set up Node.js
uses: actions/setup-node@v2.4.0
with:
node-version: 14.x
- name: ⤵️ Get yarn cache path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: ⤵️ Fetch Yarn cache
uses: actions/cache@v2.1.6
uses: actions/setup-node@v2.4.1
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
node-version: 16.x
cache: yarn
- name: ⤵️ Install dependencies
run: yarn install:all
env:
Expand Down

0 comments on commit 5b20286

Please sign in to comment.