File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,23 +14,42 @@ jobs:
1414 build :
1515 runs-on : ubuntu-latest
1616 steps :
17- - name : Checkout code
18- uses : actions/checkout@v4
19- - name : Install git submodules
20- run : git submodule init
21- - run : git submodule update --recursive
22- - name : Install node
17+ - name : Set the timezone to New Zealand
18+ uses : szenius/set-timezone@v2.0
19+ with :
20+ timezoneLinux : ' Pacific/Auckland'
21+
22+ - name : Checkout
23+ uses : actions/checkout@v6
24+ with :
25+ fetch-depth : 1
26+ submodules : recursive
27+
28+ - name : Install Node.js
2329 uses : actions/setup-node@v4
24- - name : Setup pnpm
25- uses : pnpm/action-setup@v4.1.0
30+ with :
31+ node-version : ' lts/*'
32+ registry-url : ' https://registry.npmjs.org'
33+
34+ - name : Update npm
35+ # Install the latest version of npm since we need npm 11.5.1 or later to publish to npm using OIDC (see
36+ # https://docs.npmjs.com/trusted-publishers).
37+ run : npm install -g npm@latest
38+
39+ - name : Install bun
40+ run : npm install -g bun
41+
2642 - name : Install packages
27- run : pnpm install
43+ run : bun install
44+
2845 - name : Generate documentation
29- run : pnpm build-docs
46+ run : bun run build-docs
47+
3048 - name : Upload generated documentation to Pages
3149 uses : actions/upload-pages-artifact@v3
3250 with :
3351 path : ./docs
52+
3453 deploy :
3554 runs-on : ubuntu-latest
3655 environment :
You can’t perform that action at this time.
0 commit comments