chore: update GitHub workflows to use master branch and upgrade Node.js version to 22

This commit is contained in:
4gray committed 2025-03-04 22:05:53 +01:00
1 parent 7b534f8582
commit ec66c9da4a
3 files changed
+8 -8

No files matched your search

+5 -5
View File
@@ -3,10 +3,10 @@ name: 'Build and Test'
on:
push:
branches:
- electron
- master
pull_request:
branches:
- electron
- master
jobs:
build-and-test:
@@ -19,7 +19,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
- run: git config --global url."https://${{ secrets.PAT }}@github.com/".insteadOf ssh://git@github.com/
- run: npm ci
- run: npm test -- --coverage
@@ -41,7 +41,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
- run: git config --global url."https://${{ secrets.PAT }}@github.com/".insteadOf ssh://git@github.com/
- run: npm ci
# env:
@@ -70,7 +70,7 @@ jobs:
# - name: Install Node.js, NPM and Yarn
# uses: actions/setup-node@v4
# with:
# node-version: '20'
# node-version: '22'
# - name: Build Electron app
# uses: samuelmeuli/action-electron-builder@v1
+2 -2
View File
@@ -7,10 +7,10 @@ name: "CodeQL"
on:
push:
branches: [electron]
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [electron]
branches: [master]
schedule:
- cron: '0 20 * * 3'
+1 -1
View File
@@ -3,7 +3,7 @@ name: 'Tauri Release'
on:
push:
branches:
- electron
- master
jobs:
publish-tauri: