Skip to content

Commit

Permalink
Remove yarn cache on release for more consistent deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
blackshadev committed Aug 1, 2022
1 parent ba8b23e commit 81f9a02
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,9 @@ jobs:
with:
node-version: 16.15

- name: cache-node_modules
id: cache-node_modules
uses: actions/cache@v3
with:
path: |
node_modules
src/node_modules
key: ${{ matrix.os }}-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}

- name: yarn install
run: |
yarn install --frozen-lockfile --check-files --cache-folder .ycache
yarn install --frozen-lockfile
- name: Build and publish
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
Expand Down

0 comments on commit 81f9a02

Please sign in to comment.