chore(ci): run yarn install for making sure all packages installed (#6866)

This commit is contained in:
Xin Du (Clark) 2020-01-13 18:39:20 +00:00 committed by Pooya Parsa
parent 8a78768fb1
commit 7d4b1519e8

View File

@ -38,12 +38,7 @@ jobs:
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
- name: install
if: steps.node_modules_cache_id.outputs.cache-hit != 'true'
run: yarn --frozen-lockfile --non-interactive
- name: postinstall
if: steps.node_modules_cache_id.outputs.cache-hit == 'true'
run: yarn postinstall
run: yarn --check-files --frozen-lockfile --non-interactive
- name: cache workspace
uses: actions/cache@v1