Skip to content

Commit be214b4

Browse files
chore: Fix strip-only mode issues in Node.js 22.18 (#2958)
* fix import syntax issue in Node.js 22.x * update mocha * update emulator test path * update emulator test path * update emulator test path * add Node 24.x to CIs * Trigger Staging
1 parent 5b0c5c1 commit be214b4

File tree

5 files changed

+300
-86
lines changed

5 files changed

+300
-86
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
node-version: [18.x, 20.x, 22.x]
12+
node-version: [18.x, 20.x, 22.x, 24.x]
1313

1414
steps:
1515
- uses: actions/checkout@v4
@@ -30,4 +30,4 @@ jobs:
3030
run: |
3131
npm install -g [email protected]
3232
firebase emulators:exec --project fake-project-id --only auth,database,firestore \
33-
'npx mocha \"test/integration/{auth,database,firestore}.spec.ts\" --slow 5000 --timeout 20000 --require ts-node/register'
33+
'npx mocha test/integration/auth.spec.ts test/integration/database.spec.ts test/integration/firestore.spec.ts --slow 5000 --timeout 20000 --require ts-node/register'

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: |
5555
npm install -g [email protected]
5656
firebase emulators:exec --project fake-project-id --only auth,database,firestore \
57-
'npx mocha \"test/integration/{auth,database,firestore}.spec.ts\" --slow 5000 --timeout 20000 --require ts-node/register'
57+
'npx mocha test/integration/auth.spec.ts test/integration/database.spec.ts test/integration/firestore.spec.ts --slow 5000 --timeout 20000 --require ts-node/register'
5858
5959
- name: Run integration tests
6060
run: ./.github/scripts/run_integration_tests.sh

0 commit comments

Comments
 (0)