From 1247f404dd4491066c1d13b07ddfc3ea6d4bc919 Mon Sep 17 00:00:00 2001 From: Refringe Date: Thu, 29 Feb 2024 21:25:58 -0500 Subject: [PATCH] Build test. --- .gitea/workflows/build.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..cf94631 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,33 @@ +name: Build + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '18.15.0' + + - name: Install dependencies + run: npm install + + - name: Build + run: npm run build + + - name: Archive production artifacts + uses: actions/upload-artifact@v2 + with: + name: built-artifacts + path: build