Skip to content

Commit 60cd064

Browse files
hrishikesh-kserhalp
authored andcommitted
skip angular tests on node 20
1 parent 0d0a726 commit 60cd064

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/test.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,18 @@ jobs:
6262
'netlify/framework-adapters' }}
6363
run: echo "SKIP_LIVE_TESTS=true" >> "$GITHUB_ENV"
6464
- name: Tests
65+
# angular-runtime requires Node 22+, so it's excluded on the Node 20 job
66+
if: ${{ matrix.node-version != '20.19.0' }}
6567
run: npm run test --workspaces=true
6668
env:
6769
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
70+
- name: Tests (excludes angular-runtime, which requires Node 22+)
71+
if: ${{ matrix.node-version == '20.19.0' }}
72+
run: >-
73+
npm run test --workspace=packages/nuxt-module --workspace=packages/vite-plugin
74+
--workspace=packages/vite-plugin-tanstack-start
75+
env:
76+
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
6877
- name: Warn if live tests were skipped
6978
if: ${{ env.SKIP_LIVE_TESTS == 'true' }}
7079
run: |

0 commit comments

Comments
 (0)