@@ -12,14 +12,14 @@ jobs:
1212 runs-on : ubuntu-latest
1313 strategy :
1414 matrix :
15- node : ['16 .x']
15+ node : ['20 .x']
1616
1717 steps :
1818 - name : Checkout repo
19- uses : actions/checkout@v2
19+ uses : actions/checkout@v4
2020
2121 - name : Use Node ${{ matrix.node }}
22- uses : actions/setup-node@v2
22+ uses : actions/setup-node@v4
2323 with :
2424 node-version : ${{ matrix.node }}
2525 cache : ' yarn'
4343 - name : Pack
4444 run : yarn pack
4545
46- - uses : actions/upload-artifact@v2
46+ - uses : actions/upload-artifact@v4
4747 with :
4848 name : package
4949 path : ./package.tgz
@@ -56,15 +56,15 @@ jobs:
5656 strategy :
5757 fail-fast : false
5858 matrix :
59- node : ['16 .x']
59+ node : ['20 .x']
6060 ts : ['4.7', '4.8', '4.9', '5.0', '5.1', '5.2']
6161
6262 steps :
6363 - name : Checkout repo
64- uses : actions/checkout@v2
64+ uses : actions/checkout@v4
6565
6666 - name : Use node ${{ matrix.node }}
67- uses : actions/setup-node@v2
67+ uses : actions/setup-node@v4
6868 with :
6969 node-version : ${{ matrix.node }}
7070 cache : ' yarn'
@@ -88,14 +88,14 @@ jobs:
8888 strategy :
8989 fail-fast : false
9090 matrix :
91- node : ['16 .x']
91+ node : ['20 .x']
9292 example : ['cra4', 'cra5', 'next', 'vite', 'node-standard', 'node-esm']
9393 steps :
9494 - name : Checkout repo
95- uses : actions/checkout@v2
95+ uses : actions/checkout@v4
9696
9797 - name : Use node ${{ matrix.node }}
98- uses : actions/setup-node@v2
98+ uses : actions/setup-node@v4
9999 with :
100100 node-version : ${{ matrix.node }}
101101 cache : ' yarn'
@@ -108,9 +108,11 @@ jobs:
108108
109109 - name : Install deps
110110 working-directory : ./redux-toolkit/examples/publish-ci/${{ matrix.example }}
111+ env :
112+ YARN_ENABLE_IMMUTABLE_INSTALLS : false
111113 run : yarn install
112114
113- - uses : actions/download-artifact@v2
115+ - uses : actions/download-artifact@v4
114116 with :
115117 name : package
116118 path : ./redux-toolkit/examples/publish-ci/${{ matrix.example }}
@@ -129,6 +131,8 @@ jobs:
129131
130132 - name : Build example
131133 working-directory : ./redux-toolkit/examples/publish-ci/${{ matrix.example }}
134+ env :
135+ NODE_OPTIONS : --openssl-legacy-provider
132136 run : yarn build
133137
134138 - name : Run test step
@@ -143,12 +147,12 @@ jobs:
143147 strategy :
144148 fail-fast : false
145149 matrix :
146- node : ['16 .x']
150+ node : ['20 .x']
147151 steps :
148152 - name : Checkout repo
149- uses : actions/checkout@v3
153+ uses : actions/checkout@v4
150154
151- - uses : actions/download-artifact@v3
155+ - uses : actions/download-artifact@v4
152156 with :
153157 name : package
154158 path : .
0 commit comments