chore(gitlab-ci): try to shell.nix for makes

This commit is contained in:
Sarah Vaupel 2024-01-17 04:15:19 +01:00
parent badd4ee324
commit 7d751c0189

View File

@ -41,7 +41,7 @@ node modules:
- .npm
- node_modules
script:
- "nix-shell -p gup nodejs_21 --command 'make node_modules'"
- "nix-shell --command 'make node_modules'"
before_script: &nix-before
- git config --global init.defaultBranch master
- install -v -m 0700 -d ~/.ssh
@ -65,8 +65,7 @@ frontend:
paths:
- .well-known-cache
script:
- "nix-shell -p gup --command 'make .npmrc'" # TODO: hotfix (.npmrc must not be artifact!); make obsolete
- "nix-shell -p nodejs_21 exiftool --command 'make frontend-build'"
- "nix-shell --command 'make frontend-build'"
before_script: *nix-before
needs:
- job: node modules