Skip to content

Commit a016f89

Browse files
committed
Update nightly-js-sdk.yaml
1 parent ce1bf3c commit a016f89

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/nightly-js-sdk.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
name: Firebase JS SDK Nightly
1616

1717
on:
18+
pull_request:
19+
branches:
20+
- main
1821
workflow_dispatch:
1922

2023
jobs:
@@ -28,8 +31,14 @@ jobs:
2831
uses: actions/setup-node@v3
2932
with:
3033
node-version: 20.x
34+
- name: Write Project Config
35+
env:
36+
PROJECT_CONFIG: ${{ secrets.TEST_PROJECT_CONFIG }}
37+
run: echo "export const firebaseConfig = $PROJECT_CONFIG;" > src/lib/app_tests/firebase.ts
3138
- name: Yarn install
3239
run: yarn
40+
- name: Yarn build
41+
run: yarn build
3342
- name: Launch E2E tests workflow
34-
run: |
35-
echo Hello World (TBD)
43+
run: yarn test
44+

0 commit comments

Comments
 (0)