Skip to content

Commit c9a83bd

Browse files
committed
fix: try new setup
1 parent bdd08e1 commit c9a83bd

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cache: yarn
1111

1212
stages:
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

3331
notifications:

0 commit comments

Comments
 (0)