68f0b8152f
* Upgrading deps * Upgrading node
20 lines
382 B
YAML
20 lines
382 B
YAML
pipeline:
|
|
yarn:
|
|
image: node:alpine
|
|
commands:
|
|
- yarn
|
|
|
|
yarn_lint:
|
|
image: node:alpine
|
|
commands:
|
|
- yarn lint
|
|
|
|
npm_publish:
|
|
image: node:alpine
|
|
commands:
|
|
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
|
|
- echo "email = tyhou13@gmx.com" >> ~/.npmrc
|
|
- npm publish
|
|
secrets: [npm_token]
|
|
when:
|
|
event: tag
|