File tree Expand file tree Collapse file tree 1 file changed +10
-28
lines changed
Expand file tree Collapse file tree 1 file changed +10
-28
lines changed Original file line number Diff line number Diff line change 11name : Deploy to GitHub Pages
2-
3- on :
2+ on :
43 push :
54 branches :
6- - production
7-
5+ - " production"
86jobs :
97 build :
108 runs-on : ubuntu-22.04
11-
129 steps :
13- - name : Checkout repository
10+ - name : Checkout Repository
1411 uses : actions/checkout@v4
1512 with :
1613 persist-credentials : false
17-
14+ - name : Enable CorePack
15+ run : corepack enable pnpm
16+ - name : Prepare CorePack
17+ run : corepack prepare pnpm@8.6.1 --activate
1818 - name : Set up Node.js
1919 uses : actions/setup-node@v4
2020 with :
2121 node-version : 22
2222 check-latest : true
23- cache : ' pnpm'
24-
25- - name : Set up pnpm
26- uses : pnpm/action-setup@v3
27- with :
28- version : 9
29- run_install : false
30-
31- - name : Clean and install dependencies
32- run : |
33- rm -rf node_modules pnpm-lock.yaml
34- pnpm store prune || true
35- pnpm install --ignore-scripts=false --no-frozen-lockfile
36-
37- - name : Rebuild native bindings
38- run : |
39- pnpm rebuild oxc-parser || true
40- pnpm rebuild sharp || true
41-
42- - name : Build project
23+ - name : Install dependencies
24+ run : pnpm install
25+ - name : Build using pnpm
4326 run : pnpm run build
4427 env :
4528 NITRO_PRESET : github_pages
46-
4729 - name : Upload Pages Artifact
4830 uses : actions/upload-pages-artifact@v3
4931 with :
You can’t perform that action at this time.
0 commit comments