Skip to content

Commit 34c204b

Browse files
authored
fix: Use new workflow and template
1 parent a10897c commit 34c204b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

screwdriver.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
1-
workflow:
2-
- publish
3-
41
shared:
52
image: node:6
63

74
jobs:
85
main:
6+
requires: [~pr, ~commit]
97
steps:
108
- install: npm install
119
- test: npm test
1210

1311
publish:
12+
requires: [main]
1413
template: screwdriver-cd/semantic-release
15-
steps:
16-
- install: npm install semantic-release
17-
- publish: npm run semantic-release
1814
secrets:
1915
- GH_TOKEN
2016
- NPM_TOKEN

0 commit comments

Comments
 (0)