Skip to content

Commit

Permalink
added caching
Browse files Browse the repository at this point in the history
  • Loading branch information
xyven1 committed Sep 17, 2023
1 parent 8c39003 commit 8d72cb7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
Expand Down

0 comments on commit 8d72cb7

Please sign in to comment.