GitLab CI
Environment variables
npm provenance
Node project configuration
.gitlab-ci.yml configuration for Node projects
.gitlab-ci.yml configuration for Node projects# The release pipeline will run only if all jobs in the test pipeline are successful
stages:
- test
- release
before_script:
- npm install
node:10:
image: node:10
stage: test
script:
- npm test
node:12:
image: node:12
stage: test
script:
- npm test
publish:
image: node:12
stage: release
script:
- npx semantic-release.gitlab-ci.yml configuration for all projects
.gitlab-ci.yml configuration for all projectspackage.json configuration
package.json configurationLast updated