Skip to content
Snippets Groups Projects
Commit dd0a082f authored by Marie's avatar Marie
Browse files

Add new file

parent f7880a44
No related branches found
No related tags found
1 merge request!1push develop into stable
image: node:latest
stages:
- testing
- deploy
test:
stage: testing
script:
- npm i
- npm run build
- npm run test
publish-npm:
stage: deploy
needs: ['test']
changes:
paths:
- package.json
script:
- echo "@sharkey:registry=https://${CI_SERVER_HOST}/api/v4/groups/2/packages/npm/" > .npmrc
- echo "//${CI_SERVER_HOST}/api/v4/groups/2/packages/npm/:_authToken=${NPM_TOKEN}" >> .npmrc
- npm i
- npm run build
- npm publish
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment