mirror of
https://github.com/actions/container-toolkit-action.git
synced 2025-12-12 13:07:23 +00:00
Add pkg scripts
This commit is contained in:
@@ -14,6 +14,8 @@ publishing, and versioning guidance.
|
|||||||
For more information on the GitHub Actions toolkit, see the
|
For more information on the GitHub Actions toolkit, see the
|
||||||
[`actions/toolkit` repository](https://github.com/actions/toolkit/tree/main/docs)
|
[`actions/toolkit` repository](https://github.com/actions/toolkit/tree/main/docs)
|
||||||
|
|
||||||
|
[](https://codespaces.new/actions/container-toolkit-action)
|
||||||
|
|
||||||
## Create Your Own Action
|
## Create Your Own Action
|
||||||
|
|
||||||
To create your own action, you can use this repository as a template! Just
|
To create your own action, you can use this repository as a template! Just
|
||||||
|
|||||||
3
dist/index.js
generated
vendored
3
dist/index.js
generated
vendored
@@ -1,4 +1,4 @@
|
|||||||
/******/ (() => { // webpackBootstrap
|
require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap
|
||||||
/******/ var __webpack_modules__ = ({
|
/******/ var __webpack_modules__ = ({
|
||||||
|
|
||||||
/***/ 7351:
|
/***/ 7351:
|
||||||
@@ -30893,3 +30893,4 @@ const main_1 = __nccwpck_require__(399);
|
|||||||
module.exports = __webpack_exports__;
|
module.exports = __webpack_exports__;
|
||||||
/******/ })()
|
/******/ })()
|
||||||
;
|
;
|
||||||
|
//# sourceMappingURL=index.js.map
|
||||||
1
dist/index.js.map
generated
vendored
Normal file
1
dist/index.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/sourcemap-register.js
generated
vendored
Normal file
1
dist/sourcemap-register.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
13
package.json
13
package.json
@@ -26,14 +26,15 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bundle": "npm run format:write && npm run package",
|
"bundle": "npm run format:write && npm run package",
|
||||||
"ci-test": "jest",
|
"ci-test": "npx jest",
|
||||||
"format:write": "prettier --write **/*.ts",
|
"coverage": "npx make-coverage-badge --output-path ./badges/coverage.svg",
|
||||||
"format:check": "prettier --check **/*.ts",
|
"format:write": "npx prettier --write .",
|
||||||
|
"format:check": "npx prettier --check .",
|
||||||
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
|
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
|
||||||
"package": "ncc build src/index.ts --license licenses.txt",
|
"package": "npx ncc build src/index.ts -o dist --source-map --license licenses.txt",
|
||||||
"package:watch": "npm run package -- --watch",
|
"package:watch": "npm run package -- --watch",
|
||||||
"test": "(jest && make-coverage-badge --output-path ./badges/coverage.svg) || make-coverage-badge --output-path ./badges/coverage.svg",
|
"test": "npx jest",
|
||||||
"all": "npm run format:write && npm run lint && npm run test && npm run package"
|
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"jest": {
|
"jest": {
|
||||||
|
|||||||
Reference in New Issue
Block a user