mirror of
https://github.com/Mintplex-Labs/nut.js.git
synced 2026-07-21 01:15:22 -04:00
(#110) Enabled next releases
This commit is contained in:
+5
-3
@@ -39,9 +39,6 @@ stages:
|
||||
if: tag IS present
|
||||
|
||||
jobs:
|
||||
allow_failures:
|
||||
- node_js: lts/erbium
|
||||
os: osx
|
||||
exclude:
|
||||
- stage: test
|
||||
node_js: 12.13.0
|
||||
@@ -69,6 +66,11 @@ jobs:
|
||||
before_deploy:
|
||||
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
|
||||
deploy:
|
||||
- provider: script
|
||||
skip_cleanup: false
|
||||
script: npm run publish-next
|
||||
on:
|
||||
branch: develop
|
||||
- provider: script
|
||||
skip_cleanup: false
|
||||
script: npm publish
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
"coverage": "jest --coverage",
|
||||
"lint": "tslint -p tsconfig.json",
|
||||
"watch": "tsc -w -p .",
|
||||
"publish-next": "bump prerelease --preid next && npm publish",
|
||||
"prepublishOnly": "npm run compile",
|
||||
"versionBump": "bump --tag --push --all",
|
||||
"typedoc": "typedoc --options ./typedoc.js --out ./docs lib/"
|
||||
|
||||
Reference in New Issue
Block a user