Skip to content

Commit fdd03c1

Browse files
authored
build(test): recursively find test files; fail on unsupported dependency versions (#717)
1 parent b15c0c0 commit fdd03c1

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

synthtool/gcp/templates/node_library/.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
node-version: ${{ '{{' }} matrix.node {{ '}}' }}
1818
- run: node --version
19-
- run: npm install
19+
- run: npm install --engine-strict
2020
- run: npm test
2121
- name: coverage
2222
uses: codecov/codecov-action@v1

synthtool/gcp/templates/node_library/.mocharc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
const config = {
1515
"enable-source-maps": true,
1616
"throw-deprecation": true,
17-
"timeout": 10000
17+
"timeout": 10000,
18+
"recursive": true
1819
}
1920
if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
2021
delete config['throw-deprecation'];

0 commit comments

Comments
 (0)