Missed addition
- Server build action
This commit is contained in:
29
.gitea/workflows/DRBv3_server_build.yaml
Normal file
29
.gitea/workflows/DRBv3_server_build.yaml
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user