stages:
- build
- test
- deploy
build_job:
stage: build
script:
- npm ci
- npm run build
artifacts:
paths:
- dist/
test_job:
stage: test
script:
- npm test
needs: ["build_job"] stages:
- build
- test
- deploy
build_job:
stage: build
script:
- npm ci
- npm run build
artifacts:
paths:
- dist/
test_job:
stage: test
script:
- npm test
needs: ["build_job"]