@@ -2,11 +2,11 @@ name: Build Pear Desktop
22
33on :
44 push :
5- branches : [master]
5+ branches : [ master ]
66 pull_request :
77
88env :
9- NODE_VERSION : ' 22.x'
9+ NODE_VERSION : " 22.x"
1010
1111jobs :
1212 build :
@@ -16,32 +16,26 @@ jobs:
1616 strategy :
1717 fail-fast : true
1818 matrix :
19- os : [macos-latest, ubuntu-latest, windows-latest]
19+ os : [ macos-latest, ubuntu-latest, windows-latest ]
2020
2121 steps :
2222 - uses : actions/checkout@v5
2323
24- - name : Setup XCode
25- if : startsWith(matrix.os, 'macos')
26- uses : maxim-lobanov/setup-xcode@v1
27- with :
28- xcode-version : ' 26'
29-
3024 - name : Install pnpm
3125 uses : pnpm/action-setup@v4
3226 with :
3327 version : 10
3428 run_install : false
3529
3630 - name : Setup NodeJS
37- if : startsWith(matrix.os, 'macos ') != true
31+ if : startsWith(matrix.os, 'macOS ') != true
3832 uses : actions/setup-node@v5
3933 with :
4034 node-version : ${{ env.NODE_VERSION }}
4135 cache : ' pnpm'
4236
43- - name : Setup NodeJS for macos
44- if : startsWith(matrix.os, 'macos ')
37+ - name : Setup NodeJS for macOS
38+ if : startsWith(matrix.os, 'macOS ')
4539 uses : actions/setup-node@v5
4640 with :
4741 node-version : ${{ env.NODE_VERSION }}
9185 with :
9286 run : pnpm test:debug
9387
88+
9489 release :
9590 runs-on : ubuntu-latest
9691 name : Release Pear Desktop
@@ -171,6 +166,6 @@ jobs:
171166 uses : stefanzweifel/git-auto-commit-action@v6
172167 with :
173168 commit_message : Update changelog for ${{ env.VERSION_TAG }}
174- file_pattern : ' changelog.md'
169+ file_pattern : " changelog.md"
175170 commit_user_name : CI
176171 commit_user_email :
[email protected]
0 commit comments