TTMT.ManageWebGUI/.gitea/workflows/ci.yml
phuongdm 2fcffbceac
Some checks failed
CI / build-test (push) Failing after 1m0s
Deploy Staging (Docker) / deploy (push) Failing after 7s
fix UI and add CI/CD 3
2026-05-10 22:05:15 +07:00

34 lines
563 B
YAML

name: CI
on:
push:
pull_request:
jobs:
build-test:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22.14.0
cache: npm
- name: Install deps
run: npm ci
- name: Test
run: npm run test -- --passWithNoTests
- name: Build
run: npm run build
- name: Upload dist
uses: actions/upload-artifact@v4
with:
name: dist
path: dist