File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ cache: yarn
1111
1212stages :
1313 - name : pull_request
14- if : branch = master AND type = pull_request
14+ if : branch ! = master
1515 - name : release
1616 if : branch = master AND type = push
1717
@@ -20,14 +20,12 @@ jobs:
2020 - stage : lint
2121 script : yarn run lint
2222 - stage : release
23- before_script :
24- - npm config set '//npm.pkg.github.com/:_authToken' ${GH_TOKEN}
25- - npm config set registry https://npm.pkg.github.com/
2623 script :
2724 - yarn run lint
2825 - yarn run semantic-release
2926 after_success :
30- - npm config set registry https://registry.npmjs.org/
27+ - npm config set '//npm.pkg.github.com/:_authToken' ${GH_TOKEN}
28+ - npm config set registry https://npm.pkg.github.com/@typeform
3129 - npm publish
3230
3331notifications :
You can’t perform that action at this time.
0 commit comments