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:
parent
7228eff74a
commit
3955f61958
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -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:
|
||||
|
@ -12,5 +12,6 @@
|
||||
"category": "Office",
|
||||
"executableName": "Blowfish",
|
||||
"artifactName": "${productName}-${version}.${ext}"
|
||||
}
|
||||
},
|
||||
"publish": false
|
||||
}
|
||||
|
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user