1
0
mirror of https://github.com/kremalicious/blowfish.git synced 2024-12-26 14:47:53 +01:00

jobs tweaks, run build

This commit is contained in:
Matthias Kretschmann 2021-01-30 15:29:41 +01:00
parent 7228eff74a
commit 3955f61958
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 10 additions and 6 deletions

View File

@ -11,6 +11,7 @@ on:
jobs:
test:
runs-on: ${{ matrix.os }}
fail-fast: false
strategy:
matrix:
@ -23,8 +24,9 @@ jobs:
with:
node-version: ${{ matrix.node }}
- run: npm i
- run: npm ci
- run: npm test
- run: npm run build
coverage:
needs: [test]
@ -33,8 +35,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- run: npm i
- uses: paambaati/codeclimate-action@v2.2.4
- run: npm ci
- uses: paambaati/codeclimate-action@v2.7.5
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:

View File

@ -12,5 +12,6 @@
"category": "Office",
"executableName": "Blowfish",
"artifactName": "${productName}-${version}.${ext}"
}
},
"publish": false
}

View File

@ -6,7 +6,8 @@
"main": "app/background.js",
"scripts": {
"start": "nextron",
"build": "nextron build --all",
"build": "nextron build",
"build:all": "nextron build --all",
"postinstall": "electron-builder install-app-deps",
"test": "npm run lint && npm run jest",
"test:watch": "npm run jest -- --watch",
@ -74,7 +75,7 @@
"hooks": {
"after:init": "npm test",
"after:bump": "npm run changelog",
"before:release": "npm run build"
"before:release": "npm run build:all"
},
"git": {
"tagName": "v${version}"