From 58bedcd97f433ae36c830632d74a9d819fa9f86a Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Fri, 24 May 2024 06:37:26 +0900 Subject: [PATCH] enable CI cache for NPM --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c38f78433..9ba15d6fd2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,6 +83,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18 + cache: npm - name: Copy exes to platform bin dirs run: node ./scripts/copyExes.js @@ -170,6 +171,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18 + cache: npm - name: Install npm packages run: npm ci --ignore-scripts @@ -280,6 +282,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18 + cache: npm - name: NPM install run: npm ci --ignore-scripts @@ -341,6 +344,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18 + cache: npm - name: Download artifacts uses: actions/download-artifact@v4 @@ -373,6 +377,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18 + cache: npm registry-url: https://registry.npmjs.org # Needed to make auth work for publishing - name: Download artifacts