1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-30 22:08:02 +00:00

use cache

This commit is contained in:
Nebel 2020-02-08 21:41:36 +09:00
parent f359c63225
commit 607cb9f786

View file

@ -5,6 +5,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: echo "::set-env name=YARN_CACHE_DIR::$(yarn cache dir)"
- uses: actions/cache@v1
with:
path: ${{ env.YARN_CACHE_DIR }}
key: yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: yarn-
- uses: actions/setup-node@v1
with: { node-version: 12 }
- run: yarn