File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,17 +18,16 @@ jobs:
1818
1919 steps :
2020 - uses : actions/checkout@v2
21+ - uses : actions/setup-node@v3
2122 with :
22- fetch-depth : 0
23+ node-version : 18
2324
24- - name : Use Node.js
25- uses : actions/setup-node@v1
26- with :
27- node-version : 18.x
25+ - name : AWS CLI version
26+ run : " aws --version"
2827
29- - uses : pnpm/action-setup@v2.2.2
28+ - uses : pnpm/action-setup@v2
3029 with :
31- version : 7
30+ version : 8.2.0
3231
3332 - name : Get pnpm store directory
3433 id : pnpm-cache
4241 restore-keys : |
4342 ${{ runner.os }}-pnpm-store-
4443
45- - name : AWS CLI version
46- run : " aws --version"
47-
4844 - name : Install Dependencies
4945 run : pnpm install
50- working-directory : ./
5146
5247 - name : Build the website
5348 run : pnpm build
6459 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6560
6661 - name : Deploy docs (production)
67- if : github.ref == 'refs/heads/main '
62+ if : github.ref == 'refs/heads/master '
6863 run : pnpm run deploy:prod
6964 working-directory : ./website
7065 env :
Original file line number Diff line number Diff line change 88jobs :
99 release :
1010 runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
13+ id-token : write
14+ issues : write
15+ repository-projects : write
16+ deployments : write
17+ packages : write
18+ pull-requests : write
1119
1220 steps :
1321 - uses : actions/checkout@v2
22+ - uses : actions/setup-node@v3
1423 with :
15- fetch-depth : 0
16-
17- - name : Use Node.js
18- uses : actions/setup-node@v1
19- with :
20- node-version : 18.x
24+ node-version : 18
2125
2226 - uses : pnpm/action-setup@v2.2.2
2327 with :
You can’t perform that action at this time.
0 commit comments