Skip to content

Commit

Permalink
chore(ci): Fix cache configuration to not deploy temp files in package
Browse files Browse the repository at this point in the history
  • Loading branch information
vinsonchuong committed Jul 11, 2021
1 parent 37a6688 commit 722c0e1
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 722c0e1

Please sign in to comment.