0
0
Fork 0
mirror of https://github.com/DavidAnson/markdownlint-cli2-action.git synced 2024-12-22 12:53:32 +01:00

Stop excluding generated file dist/index.js from diff check in npm test script because CI runs without an updated index.js are not meaningful.

This commit is contained in:
David Anson 2023-11-20 20:06:04 -08:00
parent 404090a89e
commit 4670abafb2

View file

@ -20,7 +20,7 @@
"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",
"lint": "eslint *.js && markdownlint-cli2 *.md",
"test": "npm run lint && npm run build && git diff --exit-code ':(exclude)dist/index.js'",
"test": "npm run lint && npm run build && git diff --exit-code",
"upgrade": "npx --yes npm-check-updates --upgrade"
},
"dependencies": {