Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

Commit ad13336

Browse files
committed
fix(pkg): some security upgrades & ci config
1 parent 2239d4f commit ad13336

File tree

3 files changed

+1820
-2386
lines changed

3 files changed

+1820
-2386
lines changed

.travis.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,9 @@ language: node_js
22
notifications:
33
email: false
44
node_js:
5-
- '11'
5+
- '12'
66
- '10'
77
- '8'
8-
after_success:
9-
- npm run travis-deploy-once "npm run semantic-release"
10-
branches:
11-
except:
12-
- /^v\d+\.\d+\.\d+$/
138
before_install: |
149
[[ ! -x ~/npm/node_modules/.bin/npm ]] && {
1510
# caching feature creates `~/npm` for us
@@ -24,3 +19,15 @@ cache:
2419
directories:
2520
- ~/.npm # cache npm's cache
2621
- ~/npm # cache latest npm
22+
jobs:
23+
include:
24+
# Define the release stage that runs semantic-release
25+
- stage: release
26+
node_js: lts/*
27+
# Advanced: optionally overwrite your default `script` step to skip the tests
28+
script: skip
29+
deploy:
30+
provider: script
31+
skip_cleanup: true
32+
script:
33+
- npx semantic-release

0 commit comments

Comments
 (0)