Skip to content

Commit c3d8535

Browse files
authored
ci: test node26 (#1464)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent 913dc2e commit c3d8535

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ jobs:
172172
node-version:
173173
# action based on https://github.com/actions/node-versions/releases
174174
# see also: https://nodejs.org/en/about/releases/
175-
- "25" # current
175+
- "26" # current
176176
- "24" # active LTS
177177
- "22"
178178
- "20"
@@ -181,9 +181,9 @@ jobs:
181181
- ubuntu-latest
182182
- macos-latest
183183
- windows-latest
184-
include:
185-
- node-version: "25"
186-
experimental: true
184+
#include:
185+
# - node-version: "27"
186+
# experimental: true
187187
continue-on-error: ${{ matrix.experimental == true }}
188188
timeout-minutes: 10
189189
steps:
@@ -203,7 +203,7 @@ jobs:
203203
NODE_VERSION: '${{ matrix.node-version }}'
204204
run:
205205
case "$NODE_VERSION" in
206-
'25' )
206+
'26' )
207207
npm install --loglevel=silly -g npm@latest
208208
;;
209209
'24' )

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
"@types/node": "ts5.7",
136136
"@types/spdx-expression-parse": "^3",
137137
"c8": "^11",
138-
"copyfiles": "^2.4.1",
138+
"cpy-cli": "^7.0.0",
139139
"deepmerge": "^4.2.2",
140140
"fast-glob": "^3.3.1",
141141
"memfs": "^4.46.1",
@@ -148,6 +148,9 @@
148148
"webpack-cli": "6.0.1",
149149
"webpack-node-externals": "3.0.0"
150150
},
151+
"overrides": {
152+
"yargs": ">=17.7.2 && <19"
153+
},
151154
"types": "./dist.d/index.node.d.ts",
152155
"browser": "./dist.web/lib.js",
153156
"main": "./dist.node/index.node.js",
@@ -234,7 +237,7 @@
234237
"build:web": "webpack build",
235238
"prebuild:d": "rimraf dist.d",
236239
"build:d": "tsc -b ./tsconfig.d.json",
237-
"postbuild:d": "copyfiles -u 1 src/**/*.d.ts dist.d",
240+
"postbuild:d": "cpy -cwd=src 'src/**/*.d.ts' dist.d",
238241
"test": "run-p --aggregate-output -lc test:\\*",
239242
"test:node": "c8 mocha -p",
240243
"test:web": "node -e 'console.log(\"TODO: write web test\")'",

0 commit comments

Comments
 (0)