chore(gitlab-ci): add missing dependencies and caches
This commit is contained in:
parent
f5d02a4b22
commit
d762abe094
@ -64,14 +64,20 @@ node modules:
|
||||
well-known:
|
||||
stage: setup
|
||||
script:
|
||||
- "nix shell .#gnumake .#nodejs-14_x --command make well-known"
|
||||
- "nix shell .#gnumake .#nodejs-14_x .#exiftool --command make well-known"
|
||||
before_script: *nix-before
|
||||
needs:
|
||||
- job: node modules
|
||||
artifacts: true
|
||||
cache:
|
||||
- &frontend-cache
|
||||
key: default-frontend
|
||||
paths:
|
||||
- .well-known-cache
|
||||
artifacts:
|
||||
paths:
|
||||
- well-known/
|
||||
- .well-known-cache/
|
||||
name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}"
|
||||
expire_in: "1 day"
|
||||
retry: 2
|
||||
@ -101,8 +107,10 @@ backend dependencies:
|
||||
frontend lint:
|
||||
stage: lint
|
||||
script:
|
||||
- "nix shell .#gnumake .#gup .#nodejs-14_x --command make frontend-lint"
|
||||
- "nix shell .#gnumake .#nodejs-14_x --command make frontend-lint"
|
||||
before_script: *nix-before
|
||||
cache:
|
||||
- *frontend-cache
|
||||
needs:
|
||||
- job: node modules
|
||||
artifacts: true
|
||||
@ -128,12 +136,9 @@ backend lint:
|
||||
frontend build:
|
||||
stage: build
|
||||
cache:
|
||||
- &frontend-cache
|
||||
key: default-frontend
|
||||
paths:
|
||||
- .well-known-cache
|
||||
- *frontend-cache
|
||||
script:
|
||||
- "nix shell .#gnumake .#gup .#nodejs-14_x --command make frontend-build"
|
||||
- "nix shell .#gnumake .#nodejs-14_x --command make frontend-build"
|
||||
before_script: *nix-before
|
||||
needs:
|
||||
- job: node modules
|
||||
|
||||
Reference in New Issue
Block a user