Skip to content

Commit

Permalink
ci: 💚 add conditional for yarn install modules
Browse files Browse the repository at this point in the history
  • Loading branch information
ColeWalker committed Sep 13, 2020
1 parent 54c19da commit c08455f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: install modules
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn

- name: Run tests
run: yarn jest
- name: Release
Expand Down

0 comments on commit c08455f

Please sign in to comment.