Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

chore: Fix tests (#5320)

Mark Wiemer18699a0d668e
diff --git a/.github/workflows/mocha.yml b/.github/workflows/mocha.yml
index 5e5add00..02e9d277 100644
--- a/.github/workflows/mocha.yml
+++ b/.github/workflows/mocha.yml
@@ -9,6 +9,7 @@ on:
branches:
- main
paths-ignore: ['*.md', 'docs/**']
+ workflow_dispatch:
permissions:
contents: read
@@ -65,8 +66,9 @@ jobs:
coverage: false
with:
os: 'ubuntu-latest,windows-latest'
+ # The 20.18.3 is instead of 20 per https://github.com/mochajs/mocha/issues/5052
# The 22.11.0 is instead of 22 per https://github.com/mochajs/mocha/issues/5278
- node-versions: '18,20,22.11.0'
+ node-versions: '18,20.18.3,22.11.0'
npm-script: test-node:${{ matrix.test-part }}
coverage: ${{ matrix.coverage }}