File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy
2+ on :
3+ push :
4+ branches :
5+ - main
6+ jobs :
7+ deploy :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
12+ with :
13+ persist-credentials : true
14+
15+ - name : Setup pnpm
16+ uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
17+ with :
18+ version : 9.12.2
19+
20+ - name : Setup Node.js
21+ uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
22+ with :
23+ node-version-file : .nvmrc
24+ cache : ' pnpm'
25+
26+ - name : Install dependencies
27+ run : pnpm install --frozen-lockfile
28+
29+ - name : Build project packages
30+ run : pnpm run build
31+
32+ - name : Build tester package
33+ working-directory : packages/tester
34+ env :
35+ NODE_ENV : production
36+ run : pnpm run build
37+
38+ - name : Deploy
39+ uses : JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # tag v4.8.0
40+ with :
41+ folder : packages/tester/doc_build
42+ branch : gh-pages
43+ clean-exclude : pr-preview
44+ force : false
You can’t perform that action at this time.
0 commit comments