Skip to content

Commit 731bf2a

Browse files
committed
fix: github actions
1 parent e48f9b2 commit 731bf2a

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ jobs:
1010
build_and_deploy:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: 20
1417
- run: npm install
1518
- run: npm run build
1619
- uses: FirebaseExtended/action-hosting-deploy@v0

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ jobs:
88
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}"
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
- run: npm install && npm run build
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version: 20
15+
- run: npm install
16+
- run: npm run build
1317
- uses: FirebaseExtended/action-hosting-deploy@v0
1418
with:
1519
repoToken: "${{ secrets.GITHUB_TOKEN }}"

firebase.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"hosting": {
3-
"public": "build",
3+
"public": "dist",
44
"ignore": [
55
"firebase.json",
66
"**/.*",

0 commit comments

Comments
 (0)