feat: add gitea actions workflows
This commit is contained in:
35
.gitea/workflows/test-build.yml
Normal file
35
.gitea/workflows/test-build.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
name: Test & Build Holiday Property Booking
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
- qa
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
test-build:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
github-server-url: https://git.dumas.ddns.net
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
Reference in New Issue
Block a user