From a4e2f3edc65caf2a71d12429221279c15e1cc9e0 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Thu, 13 Jun 2024 01:50:15 +0200 Subject: [PATCH] chore(Makefile): add well-known target, use in gitlab-ci --- .gitlab-ci.yml | 16 ++++++++++++++++ Makefile | 3 +++ 2 files changed, 19 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7ea052499..d572f37ed 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -58,6 +58,22 @@ node modules: retry: 2 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: stage: setup cache: diff --git a/Makefile b/Makefile index 548c229a5..3706940e7 100644 --- a/Makefile +++ b/Makefile @@ -87,6 +87,9 @@ frontend-%: node_modules node_modules: .npmrc package.json npm ci --cache .npm --prefer-offline +well-known: node_modules + npx webpack --progress + .npmrc: command gup .npmrc