Update .github/workflows/Continues Integration.yaml
Some checks failed
Some checks failed
This commit is contained in:
parent
6072ddc72a
commit
a0e0b8b4d8
12
.github/workflows/Continues Integration.yaml
vendored
12
.github/workflows/Continues Integration.yaml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user