mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2024-11-24 15:16:26 +01: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:
parent
6f8162e2c1
commit
0c1223ceb5
2 changed files with 2 additions and 2 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -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)
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in a new issue