Skip to content

Commit

Permalink
test: github action cache node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
hq001 committed Dec 19, 2020
1 parent 81fc96d commit 1f5d2eb
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,9 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- name: install
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: yarn install
if: steps.cache-node-modules.outputs.cache-hit != 'true'

- name: install lerna
run: yarn bootstrap
if: steps.cache-node-modules.outputs.cache-hit != 'true'


cypress-run:
Expand Down Expand Up @@ -77,8 +74,9 @@ jobs:
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- run: yarn install
- name: install
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: yarn install

- name: lint
run: yarn lint
Expand Down

0 comments on commit 1f5d2eb

Please sign in to comment.