Skip to content

Commit f0abe1b

Browse files
committed
Add App ID
1 parent dae8b2c commit f0abe1b

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

.github/scripts/run_integration_tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ gpg --quiet --batch --yes --decrypt --passphrase="${FIREBASE_SERVICE_ACCT_KEY}"
2222

2323
echo "${FIREBASE_API_KEY}" > test/resources/apikey.txt
2424

25+
echo "${FIREBASE_APP_ID}" > test/resources/appid.txt
26+
2527
npm run test:integration -- --updateRules --testMultiTenancy

.github/workflows/nightly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
env:
5656
FIREBASE_SERVICE_ACCT_KEY: ${{ secrets.FIREBASE_SERVICE_ACCT_KEY }}
5757
FIREBASE_API_KEY: ${{ secrets.FIREBASE_API_KEY }}
58+
FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID }}
5859

5960
- name: Package release artifacts
6061
run: |

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
env:
6767
FIREBASE_SERVICE_ACCT_KEY: ${{ secrets.FIREBASE_SERVICE_ACCT_KEY }}
6868
FIREBASE_API_KEY: ${{ secrets.FIREBASE_API_KEY }}
69+
FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID }}
6970

7071
- name: Package release artifacts
7172
run: |

test/integration/app-check.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ let appId: string;
3434
describe('admin.appCheck', () => {
3535
before(async () => {
3636
try {
37-
appId = fs.readFileSync(path.join(__dirname, '../resources/appId.txt')).toString().trim();
37+
appId = fs.readFileSync(path.join(__dirname, '../resources/appid.txt')).toString().trim();
3838
} catch (error) {
3939
console.log(chalk.yellow(
4040
'Unable to find an an App ID. Skipping tests that require a valid App ID.',

0 commit comments

Comments
 (0)