0
0
Fork 0
mirror of https://github.com/DavidAnson/markdownlint-cli2-action.git synced 2024-11-21 13:51:28 +01:00

Add npm scripts upgrade, docker-npm-install, and docker-npm-run-upgrade.

This commit is contained in:
David Anson 2022-01-22 15:16:11 -08:00
parent 2294e2849b
commit 6c03395cfa

View file

@ -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",