Skip to content

Commit 944a032

Browse files
committed
fix: add build step to Firebase hosting workflows for merge and pull request
1 parent 6252268 commit 944a032

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
- name: Install dependencies
3030
run: pnpm install
3131

32+
- name: Build
33+
run: pnpm run build
34+
3235
- uses: FirebaseExtended/action-hosting-deploy@v0
3336
with:
3437
repoToken: '${{ secrets.GITHUB_TOKEN }}'

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
- name: Install dependencies
2828
run: pnpm install
2929

30+
- name: Build
31+
run: pnpm run build
32+
3033
- uses: FirebaseExtended/action-hosting-deploy@v0
3134
with:
3235
repoToken: '${{ secrets.GITHUB_TOKEN }}'

0 commit comments

Comments
 (0)