From f9da1f0be89a2ec701bf2021fbd8f38bb5c31323 Mon Sep 17 00:00:00 2001 From: sethburkart123 Date: Thu, 20 Jun 2024 10:02:33 +1000 Subject: [PATCH] feat: make github workflow upload build artifact --- .github/workflows/testing.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 848650c8..eec8a7e9 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -1,4 +1,4 @@ -name: NodeJS Testing +name: NodeJS Build on: push: @@ -25,4 +25,14 @@ jobs: - name: Build run: | npm install - npm run build \ No newline at end of file + npm run build + + - name: Zip dist folder + run: | + zip -r dist.zip dist + + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: dist-zip + path: dist.zip \ No newline at end of file