Skip to content

Commit

Permalink
Disable nightly run with PR (#7876)
Browse files Browse the repository at this point in the history
* Disable nightly run with PR

* triggers a firestore change

* feedback

* try again
  • Loading branch information
wu-hui committed Jan 4, 2024
1 parent 16728cf commit e5fc290
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test-changed-firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@

name: Test Firestore

on: pull_request
on:
workflow_dispatch:
pull_request:

env:
artifactRetentionDays: 14
Expand Down Expand Up @@ -138,7 +140,7 @@ jobs:
test-name: ["test:browser:nightly"]
runs-on: ubuntu-latest
needs: build
if: ${{ needs.build.outputs.changed == 'true'}}
if: ${{ github.event_name != 'pull_request' }}
steps:
- name: Set up Node (16)
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion packages/firestore/test/integration/api/query.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ apiDescribe('Queries', persistence => {
});
});

it('maintains correct DocumentChange indices', async () => {
it('maintains correct DocumentChange indexes', async () => {
const testDocs = {
'a': { order: 1 },
'b': { order: 2 },
Expand Down

0 comments on commit e5fc290

Please sign in to comment.