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
+11 -1
View File
@@ -1,4 +1,4 @@
name: NodeJS Testing
name: NodeJS Build
on:
push:
@@ -26,3 +26,13 @@ jobs:
run: |
npm install
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