From 8b011d79dda06cf6fcb3990a3cab698fb71c75bb Mon Sep 17 00:00:00 2001 From: bpcreech <35012922+bpcreech@users.noreply.github.com> Date: Sun, 4 Feb 2024 15:57:01 -0500 Subject: [PATCH] make an artifact-building workflow --- .github/workflows/build.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..8272dc2 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,27 @@ +name: Deploy + +on: + push: + branches: + - main + +jobs: + build: + name: Build + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v3 + + - name: Setup Node + uses: actions/setup-node@v3 + + - run: npm install + - run: npm run build + + - name: Upload artifacts + uses: actions/upload-artifact@v3 + with: + name: production-files + path: ./dist