Files
sdk/.gitlab-ci.yml

16 lines
255 B
YAML

stages:
- build
- test
- deploy
- publish
publish:
stage: publish
image: node:22
rules:
- if: '$CI_COMMIT_TAG'
when: manual
script:
- npm ci
- echo "//registry.npmjs.org/:_authToken=${NPM_KEY}" > .npmrc
- npm publish