Revert "share the node_modules cache between dev and test"
This reverts commit 4d8b9715fe5ac6c82da4798c99a4be62906350d9.
This commit is contained in:
parent
d88e0c5193
commit
4032abc4db
1 changed files with 3 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ stages:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- pnpm install --frozen-lockfile
|
- pnpm install --frozen-lockfile
|
||||||
cache:
|
cache:
|
||||||
key: node_modules
|
key: build
|
||||||
policy: pull-push
|
policy: pull-push
|
||||||
when: on_success
|
when: on_success
|
||||||
paths:
|
paths:
|
||||||
|
|
@ -38,6 +38,8 @@ build:
|
||||||
.test_common: &test_common
|
.test_common: &test_common
|
||||||
<<: *build_common
|
<<: *build_common
|
||||||
stage: test
|
stage: test
|
||||||
|
cache:
|
||||||
|
key: test
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
<<: *test_common
|
<<: *test_common
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue