mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-07 21:17:53 +00:00
[Tests] ensure doctoc
action fails when it should
This commit is contained in:
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user