chore(Makefile): add well-known target, use in gitlab-ci
This commit is contained in:
parent
69afef93c9
commit
a4e2f3edc6
@ -58,6 +58,22 @@ node modules:
|
|||||||
retry: 2
|
retry: 2
|
||||||
interruptible: true
|
interruptible: true
|
||||||
|
|
||||||
|
well-known:
|
||||||
|
stage: setup
|
||||||
|
script:
|
||||||
|
- "nix shell .#gnumake .#nodejs-14_x --command make well-known"
|
||||||
|
before_script: *nix-before
|
||||||
|
needs:
|
||||||
|
- job: node modules
|
||||||
|
artifacts: true
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- well-known/
|
||||||
|
name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}"
|
||||||
|
expire_in: "1 day"
|
||||||
|
retry: 2
|
||||||
|
interruptible: true
|
||||||
|
|
||||||
backend dependencies:
|
backend dependencies:
|
||||||
stage: setup
|
stage: setup
|
||||||
cache:
|
cache:
|
||||||
|
|||||||
3
Makefile
3
Makefile
@ -87,6 +87,9 @@ frontend-%: node_modules
|
|||||||
node_modules: .npmrc package.json
|
node_modules: .npmrc package.json
|
||||||
npm ci --cache .npm --prefer-offline
|
npm ci --cache .npm --prefer-offline
|
||||||
|
|
||||||
|
well-known: node_modules
|
||||||
|
npx webpack --progress
|
||||||
|
|
||||||
.npmrc:
|
.npmrc:
|
||||||
command gup .npmrc
|
command gup .npmrc
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user