Added: gitea action for backend

This commit is contained in:
Filip Rojek 2024-06-03 12:35:07 +02:00
parent 6c2ebe7d7a
commit ca01447535

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