Skip to content

Commit eb3ca2a

Browse files
committed
fix: update working directory for Firebase function deployment and add dependency installation step
1 parent f0d678c commit eb3ca2a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/firebase-functions-ci-cd.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
contents: read
5050
defaults:
5151
run:
52-
working-directory: openci-runner/firebase/functions
52+
working-directory: openci-runner/firebase
5353
steps:
5454
- uses: actions/checkout@v4
5555

@@ -61,5 +61,9 @@ jobs:
6161
with:
6262
credentials_json: ${{ secrets.FIREBASE_SA_KEY }}
6363

64+
- name: Install dependencies
65+
working-directory: functions
66+
run: npm ci
67+
6468
- name: Deploy Functions
6569
run: npx firebase-tools deploy --only functions --project ${{ secrets.FIREBASE_PROJECT_ID }}

0 commit comments

Comments
 (0)