feat: make github workflow upload build artifact

This commit is contained in:
sethburkart123
2024-06-20 10:02:33 +10:00
parent 1e768c8276
commit f9da1f0be8
+12 -2
View File
@@ -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
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