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 uses: actions/cache/restore@v3
with: with:
path: node_modules path: node_modules
key: ${{runner.os}}-node_modules-2 key: ${{runner.os}}-node_modules
- name: Install dependencies - name: Install dependencies
run: npm install run: npm install
@ -23,7 +23,7 @@ jobs:
uses: actions/cache/save@v3 uses: actions/cache/save@v3
with: with:
path: ./node_modules path: ./node_modules
key: ${{runner.os}}-node_modules-2 key: ${{runner.os}}-node_modules
build-dev: build-dev:
name: Build name: Build
@ -38,17 +38,16 @@ jobs:
uses: actions/cache/restore@v3 uses: actions/cache/restore@v3
with: with:
path: node_modules path: node_modules
key: ${{runner.os}}-node_modules-2 key: ${{runner.os}}-node_modules
- name: Build sources - name: Build sources
run: npm run build:dev run: npm run build:dev
- name: Cache build artifacts - name: Cache build artifacts
uses: actions/cache@v3 uses: actions/cache/save@v3
with: with:
path: ./dist path: ./dist
key: dist-dev key: dist-dev
restore-keys: dist-dev
build-prod: build-prod:
name: Build production name: Build production
@ -69,11 +68,10 @@ jobs:
run: npm run build:prod run: npm run build:prod
- name: Cache build artifacts - name: Cache build artifacts
uses: actions/cache@v3 uses: actions/cache/save@v3
with: with:
path: ./dist path: ./dist
key: dist-prod key: dist-prod
restore-keys: dist-prod
docker: docker:
name: Build docker image name: Build docker image