Skip to content

Commit

Permalink
Merge pull request #77 from MatheusBaldi/MatheusBaldi/update-markdown…
Browse files Browse the repository at this point in the history
…lint-dependencies

chore: update markdownlint dependencies
  • Loading branch information
onebytegone authored Dec 12, 2024
2 parents 9a529dc + d65338d commit 0c0691a
Show file tree
Hide file tree
Showing 4 changed files with 157 additions and 94 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 16, 20, 'lts/*', 'latest' ]
node-version: [ 20, 'lts/*', 'latest' ]
steps:
- uses: actions/checkout@v4
-
Expand Down
2 changes: 1 addition & 1 deletion bin/run-markdownlint-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ TEST_DID_FAIL=0
pushd "${SCRIPT_DIR}/../tests/markdownlint" > /dev/null

for TEST_FILE in $MARKDOWN_TEST_FILES; do
OUTPUT=$("${SCRIPT_DIR}/../node_modules/.bin/markdownlint-cli2-config" "${SCRIPT_DIR}/../tests/markdownlint/.markdownlint-cli2.cjs" "${TEST_FILE}" 2>&1)
OUTPUT=$("${SCRIPT_DIR}/../node_modules/.bin/markdownlint-cli2" --config "${SCRIPT_DIR}/../tests/markdownlint/.markdownlint-cli2.cjs" "${TEST_FILE}" 2>&1)
EXIT_CODE=$?

if [[ "${TEST_FILE}" == *.pass.md ]] && [ "${EXIT_CODE}" -ne 0 ]; then
Expand Down
Loading

0 comments on commit 0c0691a

Please sign in to comment.