From 602e60aedf62ce188cb5d1e9dac98e3a2f1f1a4f Mon Sep 17 00:00:00 2001 From: DavidLee18 Date: Wed, 29 May 2024 20:13:04 +0900 Subject: [PATCH] cache npm --- .github/workflows/firebase-hosting-merge.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 285ad34..b6bce9c 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@v2 + - uses: actions/setup-node@v4 + with: + node-version: 'latest' + cache: 'npm' - run: npm ci && npm test && npm run build - uses: FirebaseExtended/action-hosting-deploy@v0 with: