From 030635a50ebb0d19a8f498a4f6100968e21d416a Mon Sep 17 00:00:00 2001 From: Tara Wilson Date: Tue, 18 Mar 2025 19:43:58 -0400 Subject: [PATCH] Adding gitea actions --- .gitea/workflows/build.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 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..c06973b --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,32 @@ +name: Build +run-name: ${{gitea.actor}} is building 🚀 +on: [push] + +jobs: + BuildUI: + runs-on: osx + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: Restoring Node Packages + run: | + cd source + cd ticketUI + yarn install --frozen-lockfile + - name: Build + run: | + cd source + cd ticketUI + yarn run build + BuildAPI: + runs-on: osx + needs: [BuildUI] + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: Setting up .Net CLI + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '9.0.x' + - name: Build API + run: dotnet build ticketAPI \ No newline at end of file