From 2de6a3b1dd8c587a7aefe07567106e8f86a0b199 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Wed, 8 May 2024 14:55:03 -0400 Subject: [PATCH] test: use `node16` module for TypeScript test --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 01404c29..251ce552 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "lint:fix": "prettier --write '{src,test}/**/*.{js,ts,css,less,scss,vue,json,gql,md}' README.md package.json", "pretest": "npm run -s lint", "test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --coverage", - "test:typescript": "npx tsc --noEmit --declaration --noUnusedLocals --esModuleInterop --allowImportingTsExtensions test/typescript-validate.ts" + "test:typescript": "npx tsc --noEmit --declaration --noUnusedLocals --esModuleInterop --module node16 --allowImportingTsExtensions test/typescript-validate.ts" }, "repository": "github:octokit/action.js", "keywords": [