File tree Expand file tree Collapse file tree 3 files changed +17
-53
lines changed Expand file tree Collapse file tree 3 files changed +17
-53
lines changed Original file line number Diff line number Diff line change @@ -10,26 +10,14 @@ jobs:
10
10
os : [ubuntu-latest, windows-latest]
11
11
runs-on : ${{ matrix.os }}
12
12
steps :
13
- - uses : actions/checkout@v3
13
+ - uses : actions/checkout@v4
14
14
with :
15
15
fetch-depth : 1
16
- - uses : actions/setup-node@v3
16
+ - uses : pnpm/action-setup@v4
17
+ - uses : actions/setup-node@v4
17
18
with :
18
- node-version : 21
19
- - uses : pnpm/action-setup@v2
20
- with :
21
- version : latest
22
- run_install : false
23
- - id : pnpm-cache
24
- shell : bash
25
- run : |
26
- echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
27
- - uses : actions/cache@v3
28
- with :
29
- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
30
- key : ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
31
- restore-keys : |
32
- ${{ runner.os }}-pnpm-
19
+ node-version : 22
20
+ cache : " pnpm"
33
21
- run : pnpm install
34
22
- run : pnpm tsc
35
23
- run : pnpm build
Original file line number Diff line number Diff line change 7
7
build :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - uses : actions/checkout@v3
10
+ - uses : actions/checkout@v4
11
11
with :
12
12
fetch-depth : 1
13
- - uses : actions/setup-node@v3
13
+ - uses : pnpm/action-setup@v4
14
+ - uses : actions/setup-node@v4
14
15
with :
15
- node-version : 21
16
- - uses : pnpm/action-setup@v2
17
- with :
18
- version : latest
19
- run_install : false
20
- - id : pnpm-cache
21
- shell : bash
22
- run : |
23
- echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
24
- - uses : actions/cache@v3
25
- with :
26
- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
27
- key : ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
28
- restore-keys : |
29
- ${{ runner.os }}-pnpm-
16
+ node-version : 22
17
+ cache : " pnpm"
30
18
- run : pnpm install
31
19
- run : pnpm build
32
20
- run : pnpm test
33
- - uses : actions/upload-pages-artifact@v1
21
+ - uses : actions/upload-pages-artifact@v3
34
22
with :
35
23
path : ./packages/web/dist
36
24
deploy :
44
32
name : github-pages
45
33
url : ${{ steps.deploy.outputs.page_url }}
46
34
steps :
47
- - uses : actions/deploy-pages@v1
35
+ - uses : actions/deploy-pages@v4
48
36
id : deploy
Original file line number Diff line number Diff line change @@ -15,26 +15,14 @@ jobs:
15
15
publish :
16
16
runs-on : ubuntu-latest
17
17
steps :
18
- - uses : actions/checkout@v3
18
+ - uses : actions/checkout@v4
19
19
with :
20
20
fetch-depth : 1
21
- - uses : actions/setup-node@v3
21
+ - uses : pnpm/action-setup@v4
22
+ - uses : actions/setup-node@v4
22
23
with :
23
- node-version : 21
24
- - uses : pnpm/action-setup@v2
25
- with :
26
- version : latest
27
- run_install : false
28
- - id : pnpm-cache
29
- shell : bash
30
- run : |
31
- echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
32
- - uses : actions/cache@v3
33
- with :
34
- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
35
- key : ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
36
- restore-keys : |
37
- ${{ runner.os }}-pnpm-
24
+ node-version : 22
25
+ cache : " pnpm"
38
26
- run : pnpm install
39
27
- run : pnpm build
40
28
- run : pnpm test
You can’t perform that action at this time.
0 commit comments