Compare commits

...

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
3 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,32 @@
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
working-directory: api/
run: |
npm install
- name: npm run build
working-directory: api/
run: |
npm run build --if-present
- name: npm run test
working-directory: api/
run: |
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