From ec66c9da4ae7171bc0d63f454f86e5dbd26cc56a Mon Sep 17 00:00:00 2001 From: 4gray Date: Tue, 4 Mar 2025 22:05:53 +0100 Subject: [PATCH] chore: update GitHub workflows to use master branch and upgrade Node.js version to 22 --- .github/workflows/build-and-test.yaml | 10 +++++----- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/tauri-release.yml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 6c8f91d51..ad634d39d 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -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 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ae19c2c1d..3359f2dda 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -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' diff --git a/.github/workflows/tauri-release.yml b/.github/workflows/tauri-release.yml index 076f0eba5..abdcee830 100644 --- a/.github/workflows/tauri-release.yml +++ b/.github/workflows/tauri-release.yml @@ -3,7 +3,7 @@ name: 'Tauri Release' on: push: branches: - - electron + - master jobs: publish-tauri: