From fd261ef015e16d94467e6162caf254a50feef467 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Mon, 29 Apr 2024 01:13:00 -0400 Subject: [PATCH] Missed addition - Server build action --- .gitea/workflows/DRBv3_server_build.yaml | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitea/workflows/DRBv3_server_build.yaml diff --git a/.gitea/workflows/DRBv3_server_build.yaml b/.gitea/workflows/DRBv3_server_build.yaml new file mode 100644 index 0000000..35d4aab --- /dev/null +++ b/.gitea/workflows/DRBv3_server_build.yaml @@ -0,0 +1,29 @@ +name: DRB Server Build + +on: + push: + branches: + - master + +env: + NODE_ENV: production + SERVER_PORT: 3000 + MONGO_URL: ${{ secrets.MONGO_URL }} + DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }} + +jobs: + drb_mocha_tests: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Build the latest code + working-directory: './server' + run: make build \ No newline at end of file