Compare commits
3 Commits
3be2274419
...
eca59344f6
Author | SHA1 | Date | |
---|---|---|---|
eca59344f6 | |||
43b98e3e8b | |||
09e7193f89 |
29
.gitea/workflows/build.yaml
Normal file
29
.gitea/workflows/build.yaml
Normal file
@ -0,0 +1,29 @@
|
||||
name: Build DeguApp backend
|
||||
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./api
|
||||
|
||||
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: change directory to api/
|
||||
|
||||
- name: npm install, build and test
|
||||
run: |
|
||||
npm install
|
||||
npm run build --if-present
|
||||
npm run test
|
||||
|
23
api/.gitea/workflows/build.yaml
Normal file
23
api/.gitea/workflows/build.yaml
Normal 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
|
||||
|
@ -41,3 +41,5 @@ app.use(cookieParser());
|
||||
|
||||
// Routes
|
||||
app.use(routes);
|
||||
|
||||
//test
|
||||
|
Loading…
Reference in New Issue
Block a user