Skip to content

Commit f8c1a05

Browse files
authored
Merge pull request #45 from screwdriver-cd/tkyi-patch-1
fix: Use new workflow and template
2 parents a10897c + 34c204b commit f8c1a05

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)