From 789013d88125beae412cec826a8e6dc8ab779248 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Tue, 6 Jul 2021 13:52:23 +0900 Subject: [PATCH] use actions/setup-node cache --- .github/workflows/build.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4f865b2..e16b495 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,13 +8,7 @@ jobs: - uses: actions/setup-node@v2 with: node-version: "lts/*" - - id: yarn_cache - run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 - with: - path: ${{ steps.yarn_cache.outputs.dir }} - key: yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: yarn- + cache: yarn - run: yarn - run: yarn build - name: The working tree is clean.