3030 runs-on : ubuntu-latest
3131 strategy :
3232 matrix :
33- node : ['18 .x']
33+ node : ['20 .x']
3434
3535 steps :
3636 - name : Checkout repo
6767 strategy :
6868 fail-fast : false
6969 matrix :
70- node : ['18 .x']
70+ node : ['20 .x']
7171 steps :
7272 - name : Checkout repo
7373 uses : actions/checkout@v2
9191 - name : Install build artifact
9292 run : yarn workspace @reduxjs/toolkit add $(pwd)/package.tgz
9393
94- - run : sed -i -e /@remap-prod-remove-line/d ./tsconfig.base.json ./vitest.config.ts ./src/tests/*.* ./src/query/tests/*.*
94+ - run : sed -i -e /@remap-prod-remove-line/d ./tsconfig.base.json ./vitest.config.mts ./src/tests/*.* ./src/query/tests/*.*
9595
9696 - name : Run tests, against dist
9797 run : yarn test
@@ -104,7 +104,7 @@ jobs:
104104 strategy :
105105 fail-fast : false
106106 matrix :
107- node : ['18 .x']
107+ node : ['20 .x']
108108 ts : ['4.7', '4.8', '4.9', '5.0', '5.1', '5.2', '5.3']
109109 steps :
110110 - name : Checkout repo
@@ -133,7 +133,7 @@ jobs:
133133 - name : Show installed RTK versions
134134 run : yarn info @reduxjs/toolkit
135135
136- - run : sed -i -e /@remap-prod-remove-line/d ./tsconfig.base.json ./vitest.config.ts ./src/tests/*.* ./src/query/tests/*.*
136+ - run : sed -i -e /@remap-prod-remove-line/d ./tsconfig.base.json ./vitest.config.mts ./src/tests/*.* ./src/query/tests/*.*
137137
138138 - name : Test types
139139 run : |
@@ -148,11 +148,23 @@ jobs:
148148 strategy :
149149 fail-fast : false
150150 matrix :
151- node : ['18.x']
152- example : ['cra4', 'cra5', 'next', 'vite', 'node-standard', 'node-esm', 'expo']
151+ node : ['20.x']
152+ example :
153+ [
154+ ' cra4' ,
155+ ' cra5' ,
156+ ' next' ,
157+ ' vite' ,
158+ ' node-standard' ,
159+ ' node-esm' ,
160+ ' react-native' ,
161+ ' expo' ,
162+ ]
153163 defaults :
154164 run :
155165 working-directory : ./examples/publish-ci/${{ matrix.example }}
166+ env :
167+ YARN_ENABLE_IMMUTABLE_INSTALLS : " false"
156168 steps :
157169 - name : Checkout repo
158170 uses : actions/checkout@v2
@@ -204,7 +216,7 @@ jobs:
204216 strategy :
205217 fail-fast : false
206218 matrix :
207- node : ['18 .x']
219+ node : ['20 .x']
208220 steps :
209221 - name : Checkout repo
210222 uses : actions/checkout@v2
0 commit comments