Update .github/workflows/Continues Integration.yaml
Some checks reported warnings
Some checks reported warnings
This commit is contained in:
parent
be9ffd160a
commit
03b3efbb7a
13
.github/workflows/Continues Integration.yaml
vendored
13
.github/workflows/Continues Integration.yaml
vendored
@ -46,11 +46,14 @@ jobs:
|
|||||||
- name: Build sources
|
- name: Build sources
|
||||||
run: npm run build:dev
|
run: npm run build:dev
|
||||||
|
|
||||||
|
- name: Compress artifacts
|
||||||
|
run: tar -czvf dist.tar.gz dist
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: build-dev
|
name: build-dev
|
||||||
path: dist/
|
path: dist.tar.gz
|
||||||
|
|
||||||
build-prod:
|
build-prod:
|
||||||
name: Build production
|
name: Build production
|
||||||
@ -71,11 +74,14 @@ jobs:
|
|||||||
- name: Build sources
|
- name: Build sources
|
||||||
run: npm run build:prod
|
run: npm run build:prod
|
||||||
|
|
||||||
|
- name: Compress artifacts
|
||||||
|
run: tar -czvf dist.tar.gz dist
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: build-prod
|
name: build-prod
|
||||||
path: dist/
|
path: dist.tar.gz
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
name: Build docker image
|
name: Build docker image
|
||||||
@ -92,6 +98,9 @@ jobs:
|
|||||||
name: build-prod
|
name: build-prod
|
||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
|
- name: Extract artifacts
|
||||||
|
run: tar -xzvf dist.tar.gz
|
||||||
|
|
||||||
- name: Build docker image
|
- name: Build docker image
|
||||||
uses: ztimson/actions/docker/build@develop
|
uses: ztimson/actions/docker/build@develop
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user