@@ -162,6 +162,43 @@ jobs:
162162 path : packages
163163 - run : yarn test:integration
164164
165+ test-integration-next :
166+ needs : build
167+ name : " Integration Tests Next (Node ${{ matrix.node-version }}, OS ${{ matrix.os }})"
168+ strategy :
169+ fail-fast : false
170+ matrix :
171+ node-version : [18, 20, 22, 24]
172+ os : [ubuntu-latest, windows-latest]
173+ runs-on : ${{ matrix.os }}
174+ steps :
175+ - uses : actions/checkout@v4
176+ - uses : actions/setup-node@v4
177+ with :
178+ node-version : ${{ matrix.node-version }}
179+ - name : Use dependency cache
180+ uses : actions/cache@v4
181+ id : dependency-cache
182+ with :
183+ path : " **/node_modules"
184+ key : ${{ runner.os }}-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/yarn.lock') }}
185+ - name : Use build cache
186+ uses : actions/cache@v4
187+ with :
188+ path : .nxcache
189+ key : build-cache-key-${{ runner.os }}-${{ github.run_id }}
190+ restore-keys : |
191+ build-cache-key-${{ runner.os }}-
192+ - name : Install dependencies
193+ run : yarn --frozen-lockfile --ignore-engines
194+ if : steps.dependency-cache.outputs.cache-hit != 'true'
195+ - name : Download build artifacts
196+ uses : actions/download-artifact@v4
197+ with :
198+ name : dist-artifacts-${{ github.run_id }}
199+ path : packages
200+ - run : yarn test:integration-next
201+
165202 test-e2e :
166203 # We only run E2E tests for non-fork PRs because the E2E tests require secrets to work and they can't be accessed from forks
167204 # Dependabot PRs sadly also don't have access to secrets, so we skip them as well
0 commit comments