@@ -13,11 +13,11 @@ jobs:
13
13
lint :
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- - uses : actions/checkout@v3
17
- - uses : pnpm/action-setup@v2
18
- - uses : actions/setup-node@v3
16
+ - uses : actions/checkout@v4
17
+ - uses : pnpm/action-setup@v4
18
+ - uses : actions/setup-node@v4
19
19
with :
20
- node-version : 18 .x
20
+ node-version : 20 .x
21
21
cache : pnpm
22
22
23
23
- name : Install
@@ -29,11 +29,11 @@ jobs:
29
29
typecheck :
30
30
runs-on : ubuntu-latest
31
31
steps :
32
- - uses : actions/checkout@v3
33
- - uses : pnpm/action-setup@v2
34
- - uses : actions/setup-node@v3
32
+ - uses : actions/checkout@v4
33
+ - uses : pnpm/action-setup@v4
34
+ - uses : actions/setup-node@v4
35
35
with :
36
- node-version : 18 .x
36
+ node-version : 20 .x
37
37
cache : pnpm
38
38
39
39
- name : Install
@@ -47,20 +47,17 @@ jobs:
47
47
48
48
strategy :
49
49
matrix :
50
- node-version : [18 .x]
50
+ node-version : [20 .x]
51
51
os : [ubuntu-latest]
52
52
fail-fast : false
53
53
54
54
steps :
55
- - uses : actions/checkout@v3
56
- - uses : pnpm/action-setup@v2
55
+ - uses : actions/checkout@v4
56
+ - uses : pnpm/action-setup@v4
57
57
- name : Use Node.js ${{ matrix.node-version }}
58
- uses : actions/setup-node@v3
58
+ uses : actions/setup-node@v4
59
59
with :
60
60
node-version : ${{ matrix.node-version }}
61
- registry-url : https://registry.npmjs.org/
62
- cache : pnpm
63
-
64
61
- run : pnpm install
65
62
- run : pnpm run test:unit
66
63
@@ -69,36 +66,23 @@ jobs:
69
66
70
67
strategy :
71
68
matrix :
72
- node-version : [18 .x]
69
+ node-version : [20 .x]
73
70
os : [ubuntu-latest]
74
71
fail-fast : false
75
72
76
73
steps :
77
- - uses : actions/checkout@v3
78
- - uses : actions/cache@v3
79
- with :
80
- path : |
81
- ~/.cache
82
- key : cypress-cache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
83
-
84
- - uses : pnpm/action-setup@v2
85
-
86
- - name : Use Node.js ${{ matrix.node-version }}
87
- uses : actions/setup-node@v3
74
+ - uses : actions/checkout@v4
75
+ - name : Install pnpm
76
+ uses : pnpm/action-setup@v4
77
+ - name : Setup Node
78
+ uses : actions/setup-node@v4
88
79
with :
89
80
node-version : ${{ matrix.node-version }}
90
- registry-url : https://registry.npmjs.org/
91
- cache : pnpm
92
-
93
- - run : pnpm install
94
-
95
- - name : Cypress PNPM Patch
96
- run : cp pnpm-lock.yaml package-lock.json
97
-
81
+ cache : ' pnpm'
98
82
- name : Cypress
99
- uses : cypress-io/github-action@v4
83
+ uses : cypress-io/github-action@v6
100
84
with :
101
- install-command : echo
85
+ install-command : pnpm install
102
86
build : pnpm run build
103
87
start : pnpm run preview
104
88
record : true
0 commit comments