Files
openstapps/.gitlab-ci.yml
2023-01-13 18:59:46 +01:00

21 lines
361 B
YAML

image: registry.gitlab.com/openstapps/projectmanagement/node
stages:
- test
- publish
prettier config file:
stage: test
script:
- npm test
package:
tags:
- secrecy
stage: publish
script:
- echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc
- npm publish --access=public
only:
- /^v[0-9]+\.[0-9]+\.[0-9]+$/