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