File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Run Type Check
1+ name : Run Type and Format Checks
22
33on :
44 push :
2424 - name : Setup Node.js
2525 uses : actions/setup-node@v6
2626 with :
27- node-version : " 26.4.0 "
27+ node-version : 26
2828 cache : " pnpm"
2929
3030 - name : Type check
Original file line number Diff line number Diff line change 1+ name : Build and Deploy Site to Pages
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches : ["main"]
7+
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ concurrency :
14+ group : " pages"
15+ cancel-in-progress : false
16+
17+ jobs :
18+ build :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Checkout repository
22+ uses : actions/checkout@v7
23+
24+ - name : Set up pnpm
25+ uses : pnpm/action-setup@v6
26+ with :
27+ cache : true
28+ run_install : true
29+
30+ - name : Set up Node.js
31+ uses : actions/setup-node@v6
32+ with :
33+ node-version : 26
34+ cache : " pnpm"
35+
36+ - name : Setup Pages
37+ uses : actions/configure-pages@v6
38+
39+ - name : Build
40+ run : pnpm build:web
41+
42+ - name : Upload artifact
43+ uses : actions/upload-pages-artifact@v5
44+ with :
45+ path : ./dist
46+
47+ deploy :
48+ environment :
49+ name : github-pages
50+ url : ${{ steps.deployment.outputs.page_url }}
51+ runs-on : ubuntu-latest
52+ needs : build
53+ steps :
54+ - name : Deploy to GitHub Pages
55+ id : deployment
56+ uses : actions/deploy-pages@v5
You can’t perform that action at this time.
0 commit comments