From b514cf0ad59e041e27ac7a7633a0363b4ad43dc9 Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Fri, 28 Jul 2023 21:20:12 +0000 Subject: [PATCH] Update .github/workflows/Continues Integration.yaml --- .github/workflows/Continues Integration.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/Continues Integration.yaml b/.github/workflows/Continues Integration.yaml index 3f5bdbb..dbc5e24 100644 --- a/.github/workflows/Continues Integration.yaml +++ b/.github/workflows/Continues Integration.yaml @@ -14,17 +14,16 @@ jobs: uses: actions/cache/restore@v3 with: path: node_modules - key: node_modules + key: ${{runner.os}}-node_modules - name: Install dependencies run: npm install - name: Cache node_modules - uses: actions/cache@v3 + uses: actions/cache/save@v3 with: path: ./node_modules - key: node_modules - restore-keys: node_modules + key: ${{runner.os}}-node_modules build-dev: name: Build @@ -39,8 +38,7 @@ jobs: uses: actions/cache/restore@v3 with: path: ./node_modules - key: node_modules - restore-keys: node_modules + key: ${{runner.os}}-node_modules - name: Build sources run: npm run build:dev @@ -65,8 +63,7 @@ jobs: uses: actions/cache/restore@v3 with: path: ./node_modules - key: node_modules - restore-keys: node_modules + key: ${{runner.os}}-node_modules - name: Build sources run: npm run build:prod