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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user