Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tubone24 committed Nov 20, 2021
1 parent fc103d4 commit 8cf015d
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,11 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Cache node_modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.OS }}-node14-build-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node14-build-
${{ runner.OS }}
- name: cache clear workaround # https://github.com/gatsbyjs/gatsby/issues/31853#issuecomment-858517772
run: |
npm install -g rimraf
npm run clean-all
rimraf package-lock.json
- name: Setup Node
uses: actions/setup-node@v2
with:
Expand Down Expand Up @@ -51,14 +48,11 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Cache node_modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-build-
${{ runner.OS }}
- name: cache clear workaround # https://github.com/gatsbyjs/gatsby/issues/31853#issuecomment-858517772
run: |
npm install -g rimraf
npm run clean-all
rimraf package-lock.json
- name: Setup Node
uses: actions/setup-node@v2
with:
Expand Down

0 comments on commit 8cf015d

Please sign in to comment.