Skip to content
Snippets Groups Projects
Commit bd68fa6d authored by Andreas Kluge Svendsrud's avatar Andreas Kluge Svendsrud
Browse files

Merge branch 'bug/fix-pipeline-bug' into 'main'

Bug/fix pipeline bug

See merge request !43
parents cf192b0e b7124f27
No related branches found
No related tags found
1 merge request!43Bug/fix pipeline bug
Pipeline #279609 failed
image: node:alpine # Much smaller than other variants, faster and more resource effective
stages:
- install_dependencies
- build_project
image: node:alpine
cache:
key: "${CI_COMMIT_REF_SLUG}" # Branch-specific cache keys to have separate caches across branches.
key: "${CI_COMMIT_REF_SLUG}"
paths:
- node_modules/
- build/
stages:
- install
- build
install_dependencies:
stage: install_dependencies
stage: install
script:
- npm ci
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- node_modules/
policy: push
build_project:
stage: build_project
before_script:
- ls -l node_modules/.bin
- whoami
stage: build
script:
- npm ci
- npm run build
after_script:
- ls -l
dependencies:
- install_dependencies
cache:
key: "${CI_COMMIT_REF_SLUG}"
paths:
- node_modules/
policy: pull
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment