Skip to content

Commit

Permalink
test: utilize .env.yarn for setting NODE_OPTIONS env (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal committed Feb 28, 2024
1 parent 5667568 commit ec8c075
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 16 deletions.
1 change: 1 addition & 0 deletions .env.yarn
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NODE_OPTIONS=--experimental-vm-modules
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.*
!.env.yarn
!.eslint*
!.git*

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"build": "ncc build src/index.ts",
"format": "prettier --write --cache . !dist",
"lint": "eslint --ignore-path .gitignore .",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules yarn jest"
"test": "jest"
},
"dependencies": {
"@actions/cache": "^3.2.4",
Expand All @@ -20,7 +20,6 @@
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@vercel/ncc": "^0.38.1",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"jest-extended": "^4.0.2",
Expand Down
15 changes: 1 addition & 14 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ec8c075

Please sign in to comment.