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
|
||||
[`actions/toolkit` repository](https://github.com/actions/toolkit/tree/main/docs)
|
||||
|
||||
[](https://codespaces.new/actions/container-toolkit-action)
|
||||
|
||||
## Create Your Own Action
|
||||
|
||||
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__ = ({
|
||||
|
||||
/***/ 7351:
|
||||
@@ -30893,3 +30893,4 @@ const main_1 = __nccwpck_require__(399);
|
||||
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": {
|
||||
"bundle": "npm run format:write && npm run package",
|
||||
"ci-test": "jest",
|
||||
"format:write": "prettier --write **/*.ts",
|
||||
"format:check": "prettier --check **/*.ts",
|
||||
"ci-test": "npx jest",
|
||||
"coverage": "npx make-coverage-badge --output-path ./badges/coverage.svg",
|
||||
"format:write": "npx prettier --write .",
|
||||
"format:check": "npx prettier --check .",
|
||||
"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",
|
||||
"test": "(jest && make-coverage-badge --output-path ./badges/coverage.svg) || make-coverage-badge --output-path ./badges/coverage.svg",
|
||||
"all": "npm run format:write && npm run lint && npm run test && npm run package"
|
||||
"test": "npx jest",
|
||||
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
|
||||
},
|
||||
"license": "MIT",
|
||||
"jest": {
|
||||
|
||||
Reference in New Issue
Block a user