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