[Tests] ensure doctoc action fails when it should

This commit is contained in:
Jordan Harband
2021-03-17 08:11:37 -07:00
parent 216ccd62f7
commit 9cb6a2b614
2 changed files with 5 additions and 6 deletions

View File

@@ -28,14 +28,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: ljharb/actions/node/run@main
name: 'npm install && npm run dockerfile_lint'
name: 'npm install && npm run doctoc'
with:
node-version: 'lts/*'
shell-command: |
set -e
cp README.md README.md.orig
npm run doctoc
diff -q README.md README.md.orig
command: "doctoc:check"
test_naming:
runs-on: ubuntu-latest