Skip to content

Commit 799923c

Browse files
committed
no firestore
1 parent d16070f commit 799923c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/test-changed-firestore.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ jobs:
3838
run: |
3939
set -o pipefail
4040
yarn build:changed firestore | tee ${{ runner.temp }}/yarn.log.txt
41-
continue-on-error: false
4241
- name: Check if Firestore is changed
4342
id: check-changed
4443
run: egrep "Skipping all" ${{ runner.temp }}/yarn.log.txt
@@ -50,12 +49,12 @@ jobs:
5049
id: set-output
5150
run: echo "CHANGED=true" >> "$GITHUB_OUTPUT";
5251
- name: Archive build
53-
if: ${{ !cancelled() && steps.check-changed.outcome != 'success' }}
52+
if: ${{ !cancelled() && steps.build.outcome == 'success' && steps.check-changed.outcome != 'success' }}
5453
run: |
5554
tar -cf build.tar --exclude=.git .
5655
gzip build.tar
5756
- name: Upload build archive
58-
if: ${{ !cancelled() && steps.check-changed.outcome != 'success' }}
57+
if: ${{ !cancelled() && steps.build.outcome == 'success' && steps.check-changed.outcome != 'success' }}
5958
uses: actions/upload-artifact@v3
6059
with:
6160
name: build.tar.gz

packages/firestore/src/api/database.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class Firestore extends LiteFirestore {
121121
// usage throws an exception.
122122
configureFirestore(this);
123123
}
124-
return null;
124+
return this._firestoreClient!.terminate();
125125
}
126126
}
127127

0 commit comments

Comments
 (0)