chore: always check yarn lock and dedupe during update (#12508)
* chore: always check yarn lock and dedupe during update * update yarn.lock
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -23,14 +23,16 @@ jobs:
|
||||
key: yarn-${{ hashFiles('yarn.lock') }}
|
||||
restore-keys: |
|
||||
yarn-
|
||||
- name: Update Yarn cache
|
||||
- name: Check Yarn dedupe
|
||||
if: steps.yarn-cache.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
yarn dedupe --check
|
||||
- name: Check or update Yarn cache
|
||||
env:
|
||||
YARN_ENABLE_SCRIPTS: false # disable post-install scripts
|
||||
YARN_NODE_LINKER: pnp # use pnp linker for better performance: it's meant to update yarn cache only
|
||||
run: |
|
||||
yarn dedupe --check
|
||||
yarn install --immutable
|
||||
yarn install --immutable --skip-builds
|
||||
|
||||
test-coverage:
|
||||
name: Test on Node.js Latest
|
||||
|
||||
Reference in New Issue
Block a user