From 8d72cb7ef91b421c12b13108fc52d57a64ad558b Mon Sep 17 00:00:00 2001 From: Xyven1 Date: Sun, 17 Sep 2023 04:37:53 +0000 Subject: [PATCH] added caching --- .github/workflows/firebase-hosting-merge.yml | 4 ++++ .github/workflows/firebase-hosting-pull-request.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index fa954db..c36911f 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -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: diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 4b7ce4d..f05e8b6 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -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: