Update .github/workflows/Continues Integration.yaml
Some checks failed
Continues Integration / Build (push) Failing after 9s
Continues Integration / Build production (push) Failing after 9s
Continues Integration / Build docker image (push) Has been skipped
Continues Integration / Install dependencies (push) Successful in 51s

This commit is contained in:
Zakary Timson 2023-07-28 22:07:14 +00:00
parent 6072ddc72a
commit a0e0b8b4d8

View File

@ -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