Update CI
This commit is contained in:
parent
3224521e0c
commit
c4d42eea40
|
@ -13,24 +13,31 @@ on:
|
|||
default: Fixed minor issues.
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
Publish:
|
||||
if: contains('["raub"]', github.actor)
|
||||
runs-on: ubuntu-16.04
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Fetch Repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 14.16
|
||||
node-version: 14.16.0
|
||||
|
||||
- name: Get Npm Version
|
||||
id: package-version
|
||||
uses: martinbeentjes/npm-get-version-action@master
|
||||
|
||||
- name: Publish
|
||||
run: |
|
||||
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
|
||||
npm publish --ignore-scripts
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: GitHub Release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
|
@ -39,5 +46,3 @@ jobs:
|
|||
tag_name: v${{ steps.package-version.outputs.current-version}}
|
||||
release_name: ${{ github.event.inputs.name }}
|
||||
body: ${{ github.event.inputs.text }}
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "addon-tools-raub",
|
||||
"version": "5.3.3",
|
||||
"version": "5.3.4",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -5429,6 +5429,12 @@
|
|||
"is-typedarray": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"typescript": {
|
||||
"version": "4.2.4",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.2.4.tgz",
|
||||
"integrity": "sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==",
|
||||
"dev": true
|
||||
},
|
||||
"union-value": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"author": "Luis Blanco <luisblanco1337@gmail.com>",
|
||||
"name": "addon-tools-raub",
|
||||
"version": "5.3.3",
|
||||
"version": "5.3.4",
|
||||
"description": "Helpers for Node.js addons and dependency packages",
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
|
@ -74,6 +74,7 @@
|
|||
"eslint": "7.23.0",
|
||||
"eslint-plugin-jest": "24.3.3",
|
||||
"eslint-plugin-node": "11.1.0",
|
||||
"jest": "26.6.3"
|
||||
"jest": "26.6.3",
|
||||
"typescript": "4.2.4"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue