diff --git a/.github/workflows/Continues Integration.yaml b/.github/workflows/Continues Integration.yaml index e55fd47..2fa053e 100644 --- a/.github/workflows/Continues Integration.yaml +++ b/.github/workflows/Continues Integration.yaml @@ -14,7 +14,7 @@ jobs: uses: actions/cache/restore@v3 with: path: node_modules - key: ${{runner.os}}-node_modules-2 + key: ${{runner.os}}-node_modules - name: Install dependencies run: npm install @@ -23,7 +23,7 @@ jobs: uses: actions/cache/save@v3 with: path: ./node_modules - key: ${{runner.os}}-node_modules-2 + key: ${{runner.os}}-node_modules build-dev: name: Build @@ -38,17 +38,16 @@ jobs: uses: actions/cache/restore@v3 with: path: node_modules - key: ${{runner.os}}-node_modules-2 + key: ${{runner.os}}-node_modules - name: Build sources run: npm run build:dev - name: Cache build artifacts - uses: actions/cache@v3 + uses: actions/cache/save@v3 with: path: ./dist key: dist-dev - restore-keys: dist-dev build-prod: name: Build production @@ -69,11 +68,10 @@ jobs: run: npm run build:prod - name: Cache build artifacts - uses: actions/cache@v3 + uses: actions/cache/save@v3 with: path: ./dist key: dist-prod - restore-keys: dist-prod docker: name: Build docker image