Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

Commit 0bf8596

Browse files
committed
Specify Node options for Jest
1 parent 7951cf4 commit 0bf8596

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,4 @@ jobs:
4040
run: pnpm install
4141

4242
- name: Build the project
43-
env:
44-
NODE_OPTIONS: --experimental-vm-modules --no-warnings
4543
run: pnpm ci:all

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"doc": "run-z +z --then typedoc",
7474
"doc:publish": "run-z doc --then gh-pages --dist target/typedoc --dotfiles",
7575
"lint": "run-z +z --then eslint . --ext .js,.ts",
76-
"test": "run-z +z --then jest",
77-
"z": "run-z +build,+doc,+lint,+test"
76+
"test": "run-z +z env:NODE_OPTIONS='--experimental-vm-modules --no-warnings' --then jest",
77+
"z": "run-z +cmd:rollup,+cmd:typedoc,+cmd:eslint,+cmd:jest"
7878
}
7979
}

0 commit comments

Comments
 (0)