mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2024-12-22 21:03:53 +01:00
Add npm scripts upgrade, docker-npm-install, and docker-npm-run-upgrade.
This commit is contained in:
parent
2294e2849b
commit
6c03395cfa
1 changed files with 4 additions and 1 deletions
|
@ -14,7 +14,10 @@
|
|||
"bugs": "https://github.com/DavidAnson/markdownlint-cli2-action/issues",
|
||||
"scripts": {
|
||||
"build": "ncc build markdownlint-cli2-action.js",
|
||||
"test": "eslint *.js"
|
||||
"docker-npm-install": "docker run --rm --tty --name npm-install --volume $PWD:/home/workdir --workdir /home/workdir --user node node:16 npm install",
|
||||
"docker-npm-run-upgrade": "docker run --rm --tty --name npm-run-upgrade --volume $PWD:/home/workdir --workdir /home/workdir --user node node:16 npm run upgrade",
|
||||
"test": "eslint *.js",
|
||||
"upgrade": "npx --yes npm-check-updates --upgrade"
|
||||
},
|
||||
"dependencies": {
|
||||
"@actions/core": "~1.5.0",
|
||||
|
|
Loading…
Reference in a new issue