1010permissions : {}
1111
1212env :
13- NODE_VERSION : 22
13+ NODE_VERSION : 24
1414
1515jobs :
1616 tests :
1717 strategy :
1818 matrix :
19- node : [' 20.9.0', '22', '23' ]
20- os : [' ubuntu' ]
19+ node : [" 20.9.0", "22", "24", "25" ]
20+ os : [" ubuntu" ]
2121 include :
2222 - os : macos
23- node : ' 22 '
23+ node : " 24 "
2424 - os : windows
25- node : ' 22 '
25+ node : " 24 "
2626
2727 name : Tests (Node.js v${{ matrix.node }}, ${{ matrix.os }})
2828 runs-on : ${{ matrix.os }}-latest
@@ -38,21 +38,21 @@ jobs:
3838 uses : actions/setup-node@v6
3939 with :
4040 node-version : ${{ matrix.node }}
41- cache : ' pnpm'
41+ cache : " pnpm"
4242
4343 - name : Install dependencies
4444 run : pnpm install --frozen-lockfile
4545
4646 - name : Unit tests with coverage
47- if : ' ${{ matrix.node == env.NODE_VERSION }}'
47+ if : " ${{ matrix.node == env.NODE_VERSION }}"
4848 run : pnpm test -- --coverage
4949
5050 - name : Unit tests
51- if : ' ${{ matrix.node != env.NODE_VERSION }}'
51+ if : " ${{ matrix.node != env.NODE_VERSION }}"
5252 run : pnpm test
5353
5454 - name : Upload coverage
55- if : ' ${{ matrix.node == env.NODE_VERSION }}'
55+ if : " ${{ matrix.node == env.NODE_VERSION }}"
5656 continue-on-error : true
5757 uses : coverallsapp/github-action@v2
5858 with :
8484 - name : Setup Node.js
8585 uses : actions/setup-node@v6
8686 with :
87- node-version : ${{ env.NODE_VERSION }}
88- cache : ' pnpm'
87+ node-version : lts/*
88+ cache : " pnpm"
8989
9090 - name : Install dependencies
9191 run : pnpm install --frozen-lockfile
@@ -107,8 +107,8 @@ jobs:
107107 - name : Setup Node.js
108108 uses : actions/setup-node@v6
109109 with :
110- node-version : ${{ env.NODE_VERSION }}
111- cache : ' pnpm'
110+ node-version : lts/*
111+ cache : " pnpm"
112112
113113 - name : Install dependencies
114114 run : pnpm install --frozen-lockfile
0 commit comments