@@ -12,14 +12,14 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
strategy :
14
14
matrix :
15
- node : ['16 .x']
15
+ node : ['20 .x']
16
16
17
17
steps :
18
18
- name : Checkout repo
19
- uses : actions/checkout@v2
19
+ uses : actions/checkout@v4
20
20
21
21
- name : Use Node ${{ matrix.node }}
22
- uses : actions/setup-node@v2
22
+ uses : actions/setup-node@v4
23
23
with :
24
24
node-version : ${{ matrix.node }}
25
25
cache : ' yarn'
43
43
- name : Pack
44
44
run : yarn pack
45
45
46
- - uses : actions/upload-artifact@v2
46
+ - uses : actions/upload-artifact@v4
47
47
with :
48
48
name : package
49
49
path : ./package.tgz
@@ -56,15 +56,15 @@ jobs:
56
56
strategy :
57
57
fail-fast : false
58
58
matrix :
59
- node : ['16 .x']
59
+ node : ['20 .x']
60
60
ts : ['4.7', '4.8', '4.9', '5.0', '5.1', '5.2']
61
61
62
62
steps :
63
63
- name : Checkout repo
64
- uses : actions/checkout@v2
64
+ uses : actions/checkout@v4
65
65
66
66
- name : Use node ${{ matrix.node }}
67
- uses : actions/setup-node@v2
67
+ uses : actions/setup-node@v4
68
68
with :
69
69
node-version : ${{ matrix.node }}
70
70
cache : ' yarn'
@@ -88,14 +88,14 @@ jobs:
88
88
strategy :
89
89
fail-fast : false
90
90
matrix :
91
- node : ['16 .x']
91
+ node : ['20 .x']
92
92
example : ['cra4', 'cra5', 'next', 'vite', 'node-standard', 'node-esm']
93
93
steps :
94
94
- name : Checkout repo
95
- uses : actions/checkout@v2
95
+ uses : actions/checkout@v4
96
96
97
97
- name : Use node ${{ matrix.node }}
98
- uses : actions/setup-node@v2
98
+ uses : actions/setup-node@v4
99
99
with :
100
100
node-version : ${{ matrix.node }}
101
101
cache : ' yarn'
@@ -108,9 +108,11 @@ jobs:
108
108
109
109
- name : Install deps
110
110
working-directory : ./redux-toolkit/examples/publish-ci/${{ matrix.example }}
111
+ env :
112
+ YARN_ENABLE_IMMUTABLE_INSTALLS : false
111
113
run : yarn install
112
114
113
- - uses : actions/download-artifact@v2
115
+ - uses : actions/download-artifact@v4
114
116
with :
115
117
name : package
116
118
path : ./redux-toolkit/examples/publish-ci/${{ matrix.example }}
@@ -129,6 +131,8 @@ jobs:
129
131
130
132
- name : Build example
131
133
working-directory : ./redux-toolkit/examples/publish-ci/${{ matrix.example }}
134
+ env :
135
+ NODE_OPTIONS : --openssl-legacy-provider
132
136
run : yarn build
133
137
134
138
- name : Run test step
@@ -143,12 +147,12 @@ jobs:
143
147
strategy :
144
148
fail-fast : false
145
149
matrix :
146
- node : ['16 .x']
150
+ node : ['20 .x']
147
151
steps :
148
152
- name : Checkout repo
149
- uses : actions/checkout@v3
153
+ uses : actions/checkout@v4
150
154
151
- - uses : actions/download-artifact@v3
155
+ - uses : actions/download-artifact@v4
152
156
with :
153
157
name : package
154
158
path : .
0 commit comments