Add post hook support

Signed-off-by: Xuanwo <github@xuanwo.io>
This commit is contained in:
Xuanwo
2023-01-11 11:05:43 +08:00
parent a3137a0ec8
commit 0b2476c151
7 changed files with 44 additions and 6843 deletions

View File

@@ -2,11 +2,10 @@
"name": "sccache-action",
"version": "0.0.1",
"description": "Github Action for Sccache",
"main": "dist/index.js",
"main": "dist/setup/index.js",
"scripts": {
"tsc": "tsc",
"ncc": "ncc build lib/sccache.js",
"build": "prettier --write **/*.ts && tsc && ncc build lib/sccache.js",
"build-dist": "ncc build lib/setup.js -m -o dist/setup/ && ncc build lib/setup.js -m -o dist/show_stats",
"build": "prettier --write **/*.ts && tsc && npm run build-dist",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint **/*.ts --cache",