0
mirror of https://github.com/valentineus/webos-service-types.git synced 2025-05-10 01:51:23 +03:00
webos-service-types/.gitlab-ci.yml
Valentin Popov 835d6a5852
Fix scripts
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-20 17:00:22 +04:00

18 lines
348 B
YAML

image: "node:latest"
cache:
paths:
- node_modules/
job-publish:
only:
- tags
before_script:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
script:
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
- npm publish