3 Commits

Author SHA1 Message Date
82a24efd91 Test commit
Some checks failed
Build DeguApp backend / build (pull_request) Failing after 2m15s
2024-06-03 13:22:54 +02:00
5f29773b4a Added: gitea action for backend 2024-06-03 13:22:54 +02:00
7eb548e138 Added: gitea action for backend 2024-06-03 13:22:25 +02:00

View File

@ -3,10 +3,6 @@ name: Build DeguApp backend
on: pull_request on: pull_request
jobs: jobs:
defaults:
run:
working-directory: ./api
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -19,11 +15,18 @@ jobs:
with: with:
node-version: "20.14.0" node-version: "20.14.0"
- name: change directory to api/ - name: npm install
working-directory: api/
- name: npm install, build and test
run: | run: |
npm install npm install
- name: npm run build
working-directory: api/
run: |
npm run build --if-present npm run build --if-present
- name: npm run test
working-directory: api/
run: |
npm run test npm run test