We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50b1ce9 commit d79ecd5Copy full SHA for d79ecd5
.travis.yml
@@ -1,9 +1,6 @@
1
-version: ~> 1.0
2
-import: Typeform/travis-shared-config:package-config.yml@master
3
-
4
language: node_js
5
node_js:
6
- - "12"
+ - '12'
7
8
branches:
9
only:
@@ -17,7 +14,7 @@ notifications:
17
14
email: false
18
15
19
16
env:
20
- VERSION: "$TRAVIS_BUILD_NUMBER"
+ VERSION: '$TRAVIS_BUILD_NUMBER'
21
22
before_install:
23
- yarn
@@ -31,5 +28,7 @@ script:
31
28
- yarn test:integration
32
29
33
30
after_success:
34
- - yarn semantic-release
35
+ - yarn run semantic-release
+ - npm config set '//npm.pkg.github.com/:_authToken' $GH_TOKEN
+ - npm config set registry https://npm.pkg.github.com/@typeform
+ - test $TRAVIS_EVENT_TYPE = "push" && test $TRAVIS_BRANCH = "master" && npm publish
0 commit comments