Compare commits
2 Commits
2710e74ed3
...
ade66d2456
Author | SHA1 | Date |
---|---|---|
Ferdinand Thiessen | ade66d2456 | |
Ferdinand Thiessen | 4001f8b91d |
|
@ -1,19 +0,0 @@
|
|||
pipeline:
|
||||
lint:
|
||||
when:
|
||||
branch: [main, develop]
|
||||
image: node:lts-alpine
|
||||
commands:
|
||||
- yarn install
|
||||
- yarn lint
|
||||
|
||||
publish:
|
||||
when:
|
||||
event: tag
|
||||
tag: v*
|
||||
branch: [main, develop]
|
||||
image: node:lts-alpine
|
||||
commands:
|
||||
- yarn publish --non-interactive
|
||||
secrets: [ node_auth_token ]
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
pipeline:
|
||||
deploy:
|
||||
when:
|
||||
event: tag
|
||||
tag: v*
|
||||
image: node:lts-alpine
|
||||
commands:
|
||||
- yarn publish --non-interactive
|
||||
secrets: [ node_auth_token ]
|
||||
depends_on:
|
||||
- lint
|
|
@ -0,0 +1,9 @@
|
|||
pipeline:
|
||||
lint:
|
||||
when:
|
||||
branch: [main, develop]
|
||||
image: node:lts-alpine
|
||||
commands:
|
||||
- yarn install
|
||||
- yarn lint
|
||||
|
Loading…
Reference in New Issue