Skip to content

Commit 4670aba

Browse files
committed
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.
1 parent 404090a commit 4670aba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"docker-npm-install": "docker run --rm --tty --name npm-install --volume $PWD:/home/workdir --workdir /home/workdir --user node node:16 npm install",
2121
"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",
2222
"lint": "eslint *.js && markdownlint-cli2 *.md",
23-
"test": "npm run lint && npm run build && git diff --exit-code ':(exclude)dist/index.js'",
23+
"test": "npm run lint && npm run build && git diff --exit-code",
2424
"upgrade": "npx --yes npm-check-updates --upgrade"
2525
},
2626
"dependencies": {

0 commit comments

Comments
 (0)