Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mkopa committed Dec 22, 2020
1 parent 0f73da9 commit 5a06ec8
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: [12.x]

steps:
- uses: actions/checkout@v2
Expand Down
56 changes: 28 additions & 28 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
language: node_js
node_js:
- 12

before_script:
- npm install
- npm run bootstrap

script:
- npm run build
- npm run integration

before_deploy:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
- git remote add pub https://github.com/TheSoftwareHouse/node-common.git -f
- git checkout master
- npm install
- npm run bootstrap
- npm run build
- npm run generate-types

deploy:
provider: script
script: npm run publish
skip_cleanup: true
on:
tags: false
branch: master
#language: node_js
#node_js:
# - 12
#
#before_script:
# - npm install
# - npm run bootstrap
#
#script:
# - npm run build
# - npm run integration
#
#before_deploy:
# - echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
# - git remote add pub https://github.com/TheSoftwareHouse/node-common.git -f
# - git checkout master
# - npm install
# - npm run bootstrap
# - npm run build
# - npm run generate-types
#
#deploy:
# provider: script
# script: npm run publish
# skip_cleanup: true
# on:
# tags: false
# branch: master

0 comments on commit 5a06ec8

Please sign in to comment.