Skip to content

Commit fb40cb3

Browse files
committed
Fix CI/CD and ignore node_modules
1 parent 3a6e24f commit fb40cb3

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,23 @@
22
# https://github.com/firebase/firebase-tools
33

44
name: Deploy to Firebase Hosting on merge
5+
56
on:
67
push:
78
branches:
89
- main
10+
911
jobs:
10-
build_and_deploy:
12+
deploy:
1113
runs-on: ubuntu-latest
14+
1215
steps:
1316
- uses: actions/checkout@v4
14-
- run: npm ci && npm run build
17+
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: 20
21+
1522
- uses: FirebaseExtended/action-hosting-deploy@v0
1623
with:
1724
repoToken: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,5 @@ node_modules/
6767

6868
# dataconnect generated files
6969
.dataconnect
70+
71+
node_modules/

0 commit comments

Comments
 (0)