Merge pull request #4 from Xuanwo/gha-support

feat: Add native gha cache and post-hook support
This commit is contained in:
Sylvestre Ledru
2023-03-08 21:23:22 +01:00
committed by GitHub
9 changed files with 60 additions and 6846 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/show_stats.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",