Newer
Older
- tsc_lint_and_test
- build
variables:
NODE_VERSION: "20.12"
tsc_lint_and_test:
image: node:${NODE_VERSION}
stage: tsc_lint_and_test
script:
- npm ci
- npm run tsc
- npm run lint
- npm run test
tags:
- docker-executor
build:
image: node:${NODE_VERSION}
stage: build
script:
- npm ci
- npm run build
tags:
- docker-executor
trigger_jenkins_build:
stage: trigger_jenkins_build
image: alpine:latest
before_script:
- apk add --no-cache curl
script: curl -u "$JENKINS_USERNAME:$JENKINS_API_TOKEN"
--data "PROJECT=geant-service-orchestrator-gui"
"http://test-swd-release-service01.geant.org:8080/job/build-python-snapshot/buildWithParameters"
only:
- develop
tags:
- docker-executor