18 lines
291 B
YAML
18 lines
291 B
YAML
|
pipeline:
|
||
|
lint:
|
||
|
image: node:lts-alpine
|
||
|
commands:
|
||
|
- yarn install
|
||
|
- yarn lint
|
||
|
|
||
|
publish:
|
||
|
when:
|
||
|
event: tag
|
||
|
tag: v*
|
||
|
image: node:lts-alpine
|
||
|
commands:
|
||
|
- yarn publish --non-interactive
|
||
|
secrets: [ node_auth_token ]
|
||
|
|
||
|
branches: [main, develop]
|