Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorAiqiao Yan <55104035+aiqiaoy@users.noreply.github.com>2026-06-16 17:10:58 -0400
committerGitHub <noreply@github.com>2026-06-16 17:10:58 -0400
commitc68c2101c254470055e8aa38730553d71a47bc7b (patch)
tree3d9a1c982fc2d3aed23e80a58d221942ac249155 /package.json
parent6e97fb5586f435ba4f325b363a1c7329470cebf6 (diff)
upgrade module to esm and update dependencies (#2463)
* upgrade module to esm so I can update dependencies * fix ci failures
Diffstat (limited to 'package.json')
-rw-r--r--package.json22
1 files changed, 13 insertions, 9 deletions
diff --git a/package.json b/package.json
index 683f77d..2125b37 100644
--- a/package.json
+++ b/package.json
@@ -2,13 +2,14 @@
"name": "checkout",
"version": "5.0.0",
"description": "checkout action",
+ "type": "module",
"main": "lib/main.js",
"scripts": {
- "build": "tsc && ncc build && node lib/misc/generate-docs.js",
+ "build": "tsc && ncc build src/main.ts -o dist && node lib/misc/generate-docs.js",
"format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'",
"lint": "eslint src/**/*.ts",
- "test": "jest",
+ "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"licensed-check": "src/misc/licensed-check.sh",
"licensed-generate": "src/misc/licensed-generate.sh"
},
@@ -27,27 +28,30 @@
"url": "https://github.com/actions/checkout/issues"
},
"homepage": "https://github.com/actions/checkout#readme",
+ "engines": {
+ "node": ">=24"
+ },
"dependencies": {
- "@actions/core": "^1.11.1",
- "@actions/exec": "^1.1.1",
- "@actions/github": "^6.0.0",
- "@actions/io": "^1.1.3",
- "@actions/tool-cache": "^2.0.2"
+ "@actions/core": "^3.0.1",
+ "@actions/exec": "^3.0.0",
+ "@actions/github": "^9.1.1",
+ "@actions/io": "^3.0.2",
+ "@actions/tool-cache": "^4.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^24.1.0",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
- "@vercel/ncc": "^0.38.1",
+ "@vercel/ncc": "^0.38.4",
"eslint": "^8.57.0",
"eslint-plugin-github": "^4.10.2",
"eslint-plugin-jest": "^28.8.2",
"jest": "^29.7.0",
- "jest-circus": "^29.7.0",
"js-yaml": "^4.2.0",
"prettier": "^3.3.3",
"ts-jest": "^29.2.5",
+ "ts-node": "^10.9.2",
"typescript": "^5.5.4"
}
}