From 722c0e13d1e5e3ae52c1a4297c0238f8195b9cde Mon Sep 17 00:00:00 2001 From: Vinson Chuong Date: Sun, 11 Jul 2021 14:16:39 -0700 Subject: [PATCH] chore(ci): Fix cache configuration to not deploy temp files in package --- .github/workflows/ci.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba5a791..2ca0620 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,15 +5,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v2-beta + - uses: actions/setup-node@v2 with: - node-version: 15 - - uses: actions/cache@v2 - with: - path: ./.yarn/cache - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- + node-version: 16 + cache: npm - run: yarn - run: yarn test - if: github.ref == 'refs/heads/master'