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:
parent
28d2cbcbf3
commit
ecbbd9da48
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -23,14 +23,16 @@ jobs:
|
|||||||
key: yarn-${{ hashFiles('yarn.lock') }}
|
key: yarn-${{ hashFiles('yarn.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
yarn-
|
yarn-
|
||||||
- name: Update Yarn cache
|
- name: Check Yarn dedupe
|
||||||
if: steps.yarn-cache.outputs.cache-hit != 'true'
|
if: steps.yarn-cache.outputs.cache-hit != 'true'
|
||||||
|
run: |
|
||||||
|
yarn dedupe --check
|
||||||
|
- name: Check or update Yarn cache
|
||||||
env:
|
env:
|
||||||
YARN_ENABLE_SCRIPTS: false # disable post-install scripts
|
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
|
YARN_NODE_LINKER: pnp # use pnp linker for better performance: it's meant to update yarn cache only
|
||||||
run: |
|
run: |
|
||||||
yarn dedupe --check
|
yarn install --immutable --skip-builds
|
||||||
yarn install --immutable
|
|
||||||
|
|
||||||
test-coverage:
|
test-coverage:
|
||||||
name: Test on Node.js Latest
|
name: Test on Node.js Latest
|
||||||
|
|||||||
30
yarn.lock
30
yarn.lock
@ -77,6 +77,7 @@ __metadata:
|
|||||||
resolution: "@babel/code-frame@workspace:packages/babel-code-frame"
|
resolution: "@babel/code-frame@workspace:packages/babel-code-frame"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/highlight": "workspace:^7.10.4"
|
"@babel/highlight": "workspace:^7.10.4"
|
||||||
|
"@types/chalk": ^2.0.0
|
||||||
chalk: ^2.0.0
|
chalk: ^2.0.0
|
||||||
strip-ansi: ^4.0.0
|
strip-ansi: ^4.0.0
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
@ -3804,6 +3805,15 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
|
"@types/chalk@npm:^2.0.0":
|
||||||
|
version: 2.2.0
|
||||||
|
resolution: "@types/chalk@npm:2.2.0"
|
||||||
|
dependencies:
|
||||||
|
chalk: "*"
|
||||||
|
checksum: 9cded9031f180268be59010fc1e13c7b4384e51f0ca8b75bc7a40bdd46f5f3c4859953525fb53663287e5bb25ca5df59396c276ce5c09e1a83aa7a2aec6a9f59
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"@types/color-name@npm:^1.1.1":
|
"@types/color-name@npm:^1.1.1":
|
||||||
version: 1.1.1
|
version: 1.1.1
|
||||||
resolution: "@types/color-name@npm:1.1.1"
|
resolution: "@types/color-name@npm:1.1.1"
|
||||||
@ -5360,6 +5370,16 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"chalk@npm:*, chalk@npm:^4.0.0, chalk@npm:^4.1.0":
|
||||||
|
version: 4.1.0
|
||||||
|
resolution: "chalk@npm:4.1.0"
|
||||||
|
dependencies:
|
||||||
|
ansi-styles: ^4.1.0
|
||||||
|
supports-color: ^7.1.0
|
||||||
|
checksum: f860285b419f9e925c2db0f45ffa88aa8794c14b80cc5d01ff30930bcfc384996606362706f0829cf557f6d36152a5fb2d227ad63c4bc90e2ec9e9dbed4a3c07
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"chalk@npm:^1.0.0, chalk@npm:^1.1.3":
|
"chalk@npm:^1.0.0, chalk@npm:^1.1.3":
|
||||||
version: 1.1.3
|
version: 1.1.3
|
||||||
resolution: "chalk@npm:1.1.3"
|
resolution: "chalk@npm:1.1.3"
|
||||||
@ -5384,16 +5404,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"chalk@npm:^4.0.0, chalk@npm:^4.1.0":
|
|
||||||
version: 4.1.0
|
|
||||||
resolution: "chalk@npm:4.1.0"
|
|
||||||
dependencies:
|
|
||||||
ansi-styles: ^4.1.0
|
|
||||||
supports-color: ^7.1.0
|
|
||||||
checksum: f860285b419f9e925c2db0f45ffa88aa8794c14b80cc5d01ff30930bcfc384996606362706f0829cf557f6d36152a5fb2d227ad63c4bc90e2ec9e9dbed4a3c07
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"char-regex@npm:^1.0.2":
|
"char-regex@npm:^1.0.2":
|
||||||
version: 1.0.2
|
version: 1.0.2
|
||||||
resolution: "char-regex@npm:1.0.2"
|
resolution: "char-regex@npm:1.0.2"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user