Created basic action logic.

This commit is contained in:
2026-01-10 22:51:27 +01:00
parent e7d0039424
commit 0d0a0e5b84
6 changed files with 582 additions and 50 deletions

View File

@@ -4,11 +4,11 @@
"description": "A GitHub Action to download a tool",
"main": "dist/index.js",
"scripts": {
"build": "ncc build src/index.ts -o dist --source-map --license res.txt",
"build": "esbuild src/index.ts --bundle --platform=node --target=node24 --outfile=dist/index.js --sourcemap",
"format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'",
"lint": "eslint src/**/*.ts",
"package": "ncc build src/index.ts -o dist --source-map --license res.txt",
"package": "npm run build",
"test": "jest",
"all": "npm run format && npm run lint && npm run test && npm run package"
},
@@ -28,7 +28,7 @@
},
"devDependencies": {
"@types/node": "^25.0.0",
"@vercel/ncc": "^0.38.4",
"esbuild": "^0.27.2",
"typescript": "^5.9.0"
}
}