File tree Expand file tree Collapse file tree 3 files changed +28
-4
lines changed
Expand file tree Collapse file tree 3 files changed +28
-4
lines changed Original file line number Diff line number Diff line change 3636 run : npm ci
3737
3838 - name : Run full verification
39- run : npm run verify:local
39+ run : npm run verify:core
40+
41+ e2e :
42+ name : e2e
43+ continue-on-error : true
44+ runs-on : ubuntu-latest
45+ timeout-minutes : 20
46+
47+ steps :
48+ - name : Checkout
49+ uses : actions/checkout@v4
50+
51+ - name : Setup Node.js
52+ uses : actions/setup-node@v4
53+ with :
54+ node-version : 20
55+ cache : npm
56+
57+ - name : Install dependencies
58+ run : npm ci
59+
60+ - name : Run e2e (non-blocking)
61+ run : npm run e2e
4062
4163 detect-firestore-changes :
4264 name : detect-firestore-changes
Original file line number Diff line number Diff line change @@ -244,12 +244,13 @@ This project uses GitHub as the deployment source of truth.
244244- Required check name for branch protection: ` verify-local `
245245- CI command chain:
246246 - ` npm ci `
247- - ` npm run verify:local `
248- - ` verify-local ` includes ` npm run rules:target:check `
247+ - ` npm run verify:core `
248+ - ` verify-core ` includes ` npm run rules:target:check `
249249- ` main ` push additional automation:
250250 - Detect Firestore-related file changes.
251251 - Deploy Firestore rules automatically when changed.
252252 - Run production smoke test for owner-allow and non-member-deny unknown queue reads.
253+ - E2E is executed as a separate non-blocking CI job (` e2e ` ) to avoid blocking production rules deploy on browser flakiness.
253254
254255### Local push gate (Husky)
255256- Husky install hook is configured via ` npm run prepare ` .
Original file line number Diff line number Diff line change 1818 "rules:smoke:prod" : " node scripts/smoke-firestore-unknown-queue.mjs" ,
1919 "e2e" : " node test/e2e/run.mjs" ,
2020 "e2e:headed" : " E2E_HEADLESS=false node test/e2e/run.mjs" ,
21- "verify:local" : " npm run rules:target:check && npm run lint && npm run unit:test && npm run build && npm run rules:test && npm run e2e" ,
21+ "verify:core" : " npm run rules:target:check && npm run lint && npm run unit:test && npm run build && npm run rules:test" ,
22+ "verify:local" : " npm run verify:core && npm run e2e" ,
2223 "prepare" : " husky"
2324 },
2425 "dependencies" : {
You can’t perform that action at this time.
0 commit comments