You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/test.yml
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,9 @@ jobs:
13
13
- ubuntu-22.04
14
14
- windows-latest
15
15
- macos-latest
16
+
node_version:
17
+
- 20
18
+
- 24
16
19
fail-fast: false # run tests on other operating systems even if one fails
17
20
18
21
runs-on: ${{ matrix.operating_system }}
@@ -24,7 +27,7 @@ jobs:
24
27
- uses: ankane/setup-mongodb@v1
25
28
- uses: actions/setup-node@v4
26
29
with:
27
-
node-version: 24
30
+
node-version: ${{ matrix.node_version }}
28
31
- run: npm ci
29
32
- name: Run tests (Linux)
30
33
if: ${{ runner.os == 'Linux' }}
@@ -40,6 +43,9 @@ jobs:
40
43
- ubuntu-22.04 # Using Ubuntu 22.04 due to AppArmor restrictions in newer versions (23.10+) that interfere with Puppeteer's sandbox functionality. See https://pptr.dev/troubleshooting#issues-with-apparmor-on-ubuntu
41
44
- windows-latest
42
45
- macos-latest
46
+
node_version:
47
+
- 20
48
+
- 24
43
49
fail-fast: false # run tests on other operating systems even if one fails
44
50
45
51
runs-on: ${{ matrix.operating_system }}
@@ -54,7 +60,7 @@ jobs:
54
60
path: ./demo-declarations
55
61
- uses: actions/setup-node@v4
56
62
with:
57
-
node-version: 24
63
+
node-version: ${{ matrix.node_version }}
58
64
- run: cd ./demo-declarations && npm install
59
65
- run: npm ci
60
66
- run: ./node_modules/.bin/cross-env NODE_ENV=ci npm run declarations:lint
@@ -67,6 +73,9 @@ jobs:
67
73
- ubuntu-22.04
68
74
- windows-latest
69
75
- macos-latest
76
+
node_version:
77
+
- 20
78
+
- 24
70
79
fail-fast: false
71
80
72
81
runs-on: ${{ matrix.operating_system }}
@@ -81,7 +90,7 @@ jobs:
81
90
path: ./demo-declarations
82
91
- uses: actions/setup-node@v4
83
92
with:
84
-
node-version: 24
93
+
node-version: ${{ matrix.node_version }}
85
94
- run: cd ./demo-declarations && npm install
86
95
- run: npm ci
87
96
- run: ./node_modules/.bin/cross-env NODE_ENV=ci npm run metadata:validate
0 commit comments