Skip to content

Commit 81b2597

Browse files
committed
chore(ci): update workflow set node options
1 parent 5a7cadc commit 81b2597

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,25 @@ permissions:
3131

3232
jobs:
3333
test:
34-
name: NodeJS ${{ matrix.node-version }} on ${{ matrix.os }}
34+
name: NodeJS ${{ matrix.node.version }} on ${{ matrix.os }}
3535
runs-on: ${{ matrix.os }}
36+
3637
strategy:
3738
matrix:
38-
node-version: [20.x, 22.x, 24.x]
39+
node:
40+
- version: 20.x
41+
- version: 22.x
42+
options: --test-coverage-exclude="test/**/*.js"
43+
- version: 24.x
3944
os: [ubuntu-latest, macos-15]
4045

4146
steps:
4247
- uses: actions/checkout@v6
4348

44-
- name: Use Node.js ${{ matrix.node-version }}
49+
- name: Use Node.js ${{ matrix.node.version }}
4550
uses: actions/setup-node@v6
4651
with:
47-
node-version: ${{ matrix.node-version }}
52+
node-version: ${{ matrix.node.version }}
4853

4954
- name: Environment Information
5055
run: |
@@ -71,6 +76,6 @@ jobs:
7176
- uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238
7277
if: success()
7378
with:
74-
name: ${{ runner.os }} node.js ${{ matrix.node-version }}
79+
name: ${{ runner.os }} node.js ${{ matrix.node.version }}
7580
token: ${{ secrets.CORDOVA_CODECOV_TOKEN }}
7681
fail_ci_if_error: false

0 commit comments

Comments
 (0)