0
0
Fork 0
mirror of https://github.com/DavidAnson/markdownlint-cli2-action.git synced 2024-10-16 12:07:01 +02:00

Update npm test script to ignore differences in generated file dist/index.js due to different npm install behavior for Dependabot (installs different packages, closer to yarn behavior).

This commit is contained in:
David Anson 2022-08-03 21:02:44 -07:00
parent 6f8162e2c1
commit 0c1223ceb5
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm install --no-package-lock
- run: npm install
- run: npm run test
no-globs:
name: No globs (README.md, 0 errors)

View file

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