Change build script in package.json file

Divided building procedure into two, one for main job, another for
post-job.
This commit is contained in:
Ivan Zosimov (Akvelon INC) 2022-02-21 11:58:23 +03:00
parent 56994f1afd
commit 5ba3482d38

View file

@ -5,7 +5,7 @@
"description": "setup go action", "description": "setup go action",
"main": "lib/setup-go.js", "main": "lib/setup-go.js",
"scripts": { "scripts": {
"build": "tsc && ncc build", "build": "ncc build -o dist/setup src/setup-go.ts && ncc build -o dist/cache-save src/cache-save.ts",
"format": "prettier --write **/*.ts", "format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts", "format-check": "prettier --check **/*.ts",
"test": "jest --coverage", "test": "jest --coverage",