From 5f29773b4a1ef67d55a837925f0e3aa1b104202f Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Mon, 3 Jun 2024 12:35:07 +0200 Subject: [PATCH 1/2] Added: gitea action for backend --- api/.gitea/workflows/build.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 api/.gitea/workflows/build.yaml diff --git a/api/.gitea/workflows/build.yaml b/api/.gitea/workflows/build.yaml new file mode 100644 index 0000000..a52c843 --- /dev/null +++ b/api/.gitea/workflows/build.yaml @@ -0,0 +1,23 @@ +name: Build DeguApp backend + +on: pull_request + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Set up Node.js and TypeScript + uses: actions/setup-node@v1 + with: + node-version: "20.14.0" + + - name: npm install, build and test + run: | + npm install + npm run build --if-present + npm run test + -- 2.45.2 From 82a24efd91041857cc6ba42f3ee5bfe1a342efda Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Mon, 3 Jun 2024 12:38:01 +0200 Subject: [PATCH 2/2] Test commit --- api/src/app.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/src/app.ts b/api/src/app.ts index 89e838f..d02065e 100644 --- a/api/src/app.ts +++ b/api/src/app.ts @@ -41,3 +41,5 @@ app.use(cookieParser()); // Routes app.use(routes); + +//test -- 2.45.2