Compare commits
3 Commits
d21ed17dfd
...
b956385a96
Author | SHA1 | Date | |
---|---|---|---|
b956385a96 | |||
4a161cbf7c | |||
6818145662 |
28
.gitea/workflows/build.yaml
Normal file
28
.gitea/workflows/build.yaml
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user