Add support for dependency caching.

- Fork relevant bits from https://github.com/actions/setup-java
- Use Node.js 16
- Adjust packaging
- Update uuid and other dependencies

Closes #11
This commit is contained in:
Fabio Niephaus
2022-08-31 10:07:18 +02:00
parent c2b9039d01
commit f47d45565a
27 changed files with 140566 additions and 15577 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "setup-graalvm",
"version": "1.0.6",
"version": "1.0.7",
"private": true,
"description": "GitHub Action for GraalVM",
"main": "lib/main.js",
@@ -9,7 +9,7 @@
"format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'",
"lint": "eslint src/**/*.ts",
"package": "ncc build --source-map --license licenses.txt",
"package": "ncc build -o dist/main src/main.ts && ncc build -o dist/cleanup src/cleanup.ts",
"test": "jest",
"all": "npm run build && npm run format && npm run lint && npm run package && npm test"
},
@@ -23,23 +23,26 @@
"actions",
"setup"
],
"author": "GraalVM Developers",
"author": "GraalVM Community",
"license": "UPL",
"dependencies": {
"@actions/cache": "^3.0.4",
"@actions/core": "^1.6.0",
"@actions/exec": "^1.1.0",
"@actions/glob": "^0.3.0",
"@actions/http-client": "^1.0.11",
"@actions/io": "^1.1.1",
"@actions/tool-cache": "^1.7.1",
"@octokit/core": "^3.5.1",
"@octokit/types": "^6.34.0",
"uuid": "^3.3.2"
"uuid": "^8.3.2"
},
"devDependencies": {
"@types/jest": "^27.5.2",
"@types/node": "^17.0.6",
"@types/uuid": "^3.4.10",
"@types/uuid": "^8.3.4",
"@typescript-eslint/parser": "^5.8.1",
"@vercel/ncc": "^0.33.1",
"@vercel/ncc": "^0.33.4",
"eslint": "^8.6.0",
"eslint-plugin-github": "^4.3.5",
"eslint-plugin-jest": "^25.3.4",
@@ -47,6 +50,6 @@
"js-yaml": "^4.1.0",
"prettier": "2.5.1",
"ts-jest": "^27.1.2",
"typescript": "^4.5.4"
"typescript": "^4.2.3"
}
}