Skip to content

Commit f1c574f

Browse files
committed
Upgrade TypeScript
1 parent 95c95fe commit f1c574f

File tree

8 files changed

+625
-2500
lines changed

8 files changed

+625
-2500
lines changed

.github/workflows/firebase-hosting-merge.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@v5
1212

13-
- uses: actions/setup-node@v4
13+
- uses: actions/setup-node@v6
1414
with:
15-
node-version: 22
15+
node-version: 24
1616

1717
- name: Cache npm Dependencies
1818
uses: actions/cache@v4
@@ -24,7 +24,7 @@ jobs:
2424
${{ runner.os }}-node-
2525
2626
- name: Install npm Dependencies
27-
run: npm ci
27+
run: npm i
2828
working-directory: functions
2929

3030
# echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE"

.github/workflows/firebase-hosting-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v5
1818
- run: cd functions && npm ci && npm run build
1919
- uses: FirebaseExtended/action-hosting-deploy@v0
2020
with:

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,15 @@ This open-source project demonstrates how to manage a Firebase project as an API
4242
- Start the Firebase emulators for local API testing:
4343

4444
```bash
45-
npm run serve
45+
# set up .env and gcp_credentials.json in /functions
46+
npm run dev
4647
```
4748

48-
- Or, use the full emulator suite:
49-
50-
```bash
51-
firebase emulators:start
52-
```
53-
54-
5. **Deploy to Firebase**
49+
5. **Deploy to Firebase via Github Actions**
5550

5651
```bash
57-
firebase deploy --only functions
52+
# configure vars/secrets in github actions
53+
# run commands in scripts/gcp.sh
5854
```
5955

6056
## Basic Commands

0 commit comments

Comments
 (0)