Skip to content

Commit d2ed2f8

Browse files
Update ci.yml
1 parent e0a7b46 commit d2ed2f8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ jobs:
1717
uses: actions/setup-node@v1
1818
with:
1919
node-version: 14.x
20+
- name: Get yarn cache path
21+
id: yarn-cache-path
22+
run: echo "::set-output name=dir::$(yarn cache dir)"
23+
- uses: actions/cache@v2
24+
id: yarn-cache
25+
with:
26+
path: ${{ steps.yarn-cache-path.outputs.dir }}
27+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
28+
restore-keys: |
29+
${{ runner.os }}-yarn
2030
- run: yarn
2131
- run: touch .env
2232
- run: yarn l10n:generate

0 commit comments

Comments
 (0)