ci: use node 16 in github action pipelines

This commit is contained in:
4gray committed 2021-11-08 09:56:13 +01:00
1 parent 3811de0632
commit 5be27a95e3
3 files changed
+6 -7

No files matched your search

+2 -2
View File
@@ -19,7 +19,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "12.x"
node-version: "16.x"
- run: git config --global url."https://${{ secrets.PAT }}@github.com/".insteadOf ssh://git@github.com/
- run: npm ci
- run: npm test -- --coverage
@@ -43,7 +43,7 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: "12.x"
node-version: "16.x"
- name: Build Electron app
uses: samuelmeuli/action-electron-builder@v1
+3 -3
View File
@@ -18,7 +18,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "12.x"
node-version: "16.x"
- run: git config --global url."https://${{ secrets.PAT }}@github.com/".insteadOf ssh://git@github.com/
- run: npm install
- run: npm test -- --coverage
@@ -40,7 +40,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12
node-version: "16.x"
- name: Install dependencies
run: npm ci
- name: Release
@@ -62,7 +62,7 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 12
node-version: "16.x"
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1
+1 -2
View File
@@ -12,6 +12,7 @@
"builder": "@angular-builders/custom-webpack:browser",
"options": {
"outputPath": "dist",
"deleteOutputPath": false,
"index": "src/index.html",
"main": "src/main.ts",
"tsConfig": "src/tsconfig.app.json",
@@ -32,7 +33,6 @@
"optimization": false,
"outputHashing": "all",
"sourceMap": true,
"extractCss": true,
"namedChunks": false,
"aot": false,
"extractLicenses": true,
@@ -49,7 +49,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,