mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
chore: update GitHub workflows to use master branch and upgrade Node.js version to 22
This commit is contained in:
1 parent
7b534f8582
commit
ec66c9da4a
3 files changed
+8
-8
No files matched your search
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ name: 'Tauri Release'
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- electron
|
||||
- master
|
||||
|
||||
jobs:
|
||||
publish-tauri:
|
||||
|
||||
Reference in new issue
Block a user