Skip to content

Commit

Permalink
chore: skip bootstrap on cache hit browser
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan committed Aug 27, 2021
1 parent c7fff13 commit 05cd5e6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/unit-test.yml
Expand Up @@ -59,18 +59,21 @@ jobs:

- name: restore lerna
uses: actions/cache@v2
id: cache
with:
path: |
node_modules
*/*/node_modules
key: unittest-${{ runner.os }}-${{ matrix.node_version }}-${{ hashFiles('**/package.json') }}

- name: Install and Build 🔧
- name: Bootstrap
if: steps.cache.outputs.cache-hit != 'true'
run: |
npm install --ignore-scripts
npx lerna bootstrap --no-ci --hoist --nohoist='zone.js'
npm run compile
- name: Build 🔧
run: npm run compile
- name: Unit tests
run: npm run test:browser
- name: Report Coverage
Expand Down

0 comments on commit 05cd5e6

Please sign in to comment.