Skip to content

Commit c19d144

Browse files
Fix workflows: use master branch, Node 22
1 parent 04f42f3 commit c19d144

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Build and Deploy
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [master]
66
pull_request:
7-
branches: [main]
7+
branches: [master]
88
workflow_dispatch:
99

1010
permissions:
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v4
2424
- uses: actions/setup-node@v4
2525
with:
26-
node-version: '24'
26+
node-version: '22'
2727
cache: 'npm'
2828
- run: npm ci
2929
- run: npm run build
@@ -32,7 +32,7 @@ jobs:
3232
path: docs/.vitepress/dist
3333

3434
deploy:
35-
if: github.ref == 'refs/heads/main'
35+
if: github.ref == 'refs/heads/master'
3636
needs: build
3737
runs-on: ubuntu-latest
3838
environment:

.github/workflows/validate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Validate
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [master]
66
pull_request:
7-
branches: [main]
7+
branches: [master]
88
workflow_dispatch:
99

1010
jobs:
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: '24'
17+
node-version: '22'
1818
cache: 'npm'
1919
- run: npm ci
2020
- run: npm run build

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"description": "A comprehensive guide to building desktop shells with Quickshell and QML",
66
"engines": {
7-
"node": ">=24.0.0"
7+
"node": ">=22.0.0"
88
},
99
"type": "module",
1010
"scripts": {

0 commit comments

Comments
 (0)