From 03b3efbb7a45dab10d499e32f25f0e571e2aa911 Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Fri, 28 Jul 2023 18:21:57 +0000 Subject: [PATCH] Update .github/workflows/Continues Integration.yaml --- .github/workflows/Continues Integration.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Continues Integration.yaml b/.github/workflows/Continues Integration.yaml index f15593a..6161373 100644 --- a/.github/workflows/Continues Integration.yaml +++ b/.github/workflows/Continues Integration.yaml @@ -46,11 +46,14 @@ jobs: - name: Build sources run: npm run build:dev + - name: Compress artifacts + run: tar -czvf dist.tar.gz dist + - name: Upload artifacts uses: actions/upload-artifact@v3 with: name: build-dev - path: dist/ + path: dist.tar.gz build-prod: name: Build production @@ -71,11 +74,14 @@ jobs: - name: Build sources run: npm run build:prod + - name: Compress artifacts + run: tar -czvf dist.tar.gz dist + - name: Upload artifacts uses: actions/upload-artifact@v3 with: name: build-prod - path: dist/ + path: dist.tar.gz docker: name: Build docker image @@ -92,6 +98,9 @@ jobs: name: build-prod path: dist + - name: Extract artifacts + run: tar -xzvf dist.tar.gz + - name: Build docker image uses: ztimson/actions/docker/build@develop