Skip to content

Commit 5b20286

Browse files
committed
Use new yarn cache
1 parent 66f53f3 commit 5b20286

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/ci.yml

+3-12
Original file line numberDiff line numberDiff line change
@@ -178,19 +178,10 @@ jobs:
178178
- name: ⤵️ Check out code from GitHub
179179
uses: actions/checkout@v2.4.0
180180
- name: 🏗 Set up Node.js
181-
uses: actions/setup-node@v2.4.0
182-
with:
183-
node-version: 14.x
184-
- name: ⤵️ Get yarn cache path
185-
id: yarn-cache-dir-path
186-
run: echo "::set-output name=dir::$(yarn cache dir)"
187-
- name: ⤵️ Fetch Yarn cache
188-
uses: actions/cache@v2.1.6
181+
uses: actions/setup-node@v2.4.1
189182
with:
190-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
191-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
192-
restore-keys: |
193-
${{ runner.os }}-yarn-
183+
node-version: 16.x
184+
cache: yarn
194185
- name: ⤵️ Install dependencies
195186
run: yarn install:all
196187
env:

0 commit comments

Comments
 (0)