Compare commits

...

3 Commits

Author SHA1 Message Date
b956385a96 Test commit
Some checks failed
Build DeguApp backend / build (pull_request) Failing after 0s
2024-06-03 12:57:02 +02:00
4a161cbf7c Added: gitea action for backend 2024-06-03 12:57:02 +02:00
6818145662 Added: gitea action for backend 2024-06-03 12:56:10 +02:00
3 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,28 @@
name: Build DeguApp backend
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./api
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: change directory to api/
- name: npm install, build and test
run: |
npm install
npm run build --if-present
npm run test

View File

@ -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

View File

@ -41,3 +41,5 @@ app.use(cookieParser());
// Routes
app.use(routes);
//test