Fix actions/cache module version and add tsc command to build command

This commit is contained in:
Ivan Zosimov 2022-03-30 11:32:18 +02:00
parent ccf8d261da
commit 3f2174ee39
4 changed files with 33 additions and 24 deletions

View file

@ -5,7 +5,7 @@
"description": "setup go action",
"main": "lib/setup-go.js",
"scripts": {
"build": "ncc build -o dist/setup src/setup-go.ts && ncc build -o dist/cache-save src/cache-save.ts",
"build": "tsc && ncc build -o dist/setup src/setup-go.ts && ncc build -o dist/cache-save src/cache-save.ts",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"test": "jest --coverage",
@ -23,7 +23,7 @@
"author": "GitHub",
"license": "MIT",
"dependencies": {
"@actions/cache": "^1.0.8",
"@actions/cache": "^2.0.0",
"@actions/core": "^1.6.0",
"@actions/exec": "^1.1.0",
"@actions/glob": "^0.2.0",