Skip to content

Commit ebf3f87

Browse files
committed
fix: add bootstrap step and a failing test
1 parent 73e54f9 commit ebf3f87

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

.github/workflows/check-test.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ on:
1414
permissions:
1515
contents: read # we just need to checkout the repo
1616

17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.ref }}
19+
cancel-in-progress: true
20+
1721
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1822
jobs:
1923
check-and-test:
@@ -60,7 +64,7 @@ jobs:
6064
cache: "npm"
6165

6266
- name: Install npm
63-
run: npm install -g npm@8
67+
run: npm install -g npm@9
6468

6569
- name: Use [email protected]
6670
# Default Python (3.12) doesn't have support for distutils

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"engines": {
1212
"node": ">=14.17.5",
13-
"npm": ">=7.16.0"
13+
"npm": ">=9.0.0"
1414
},
1515
"workspaces": [
1616
"packages/*",
@@ -37,7 +37,7 @@
3737
"reformat-changed": "lerna run reformat --stream --no-bail --since origin/HEAD --exclude-dependents",
3838
"reformat": "lerna run reformat --stream --no-bail",
3939
"test-changed": "lerna run test --stream --concurrency 1 --since origin/HEAD",
40-
"test-ci": "lerna run test-ci --concurrency 1 --sort",
40+
"test-ci": "lerna run test-ci --concurrency 1 --sort --bail",
4141
"test": "lerna run test --concurrency 1 --stream",
4242
"where": "node ./scripts/src/where.js"
4343
},

packages/mongodb-log-writer/src/mongo-log-writer.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ import sinonChai from 'sinon-chai';
88
chai.use(sinonChai);
99

1010
describe('MongoLogWriter', function () {
11+
it('always fails', function () {
12+
expect.fail('this failed');
13+
});
1114
it('allows writing log messages to a stream', async function () {
1215
const now = new Date(1628591965386);
1316
const target = new stream.PassThrough().setEncoding('utf8');

0 commit comments

Comments
 (0)