Files
git-agent-sync/.gitea/workflows/ci.yml
7000pctAUTO 3a9ae49db5
Some checks failed
/ test (push) Failing after 4s
fix: Add debug steps to CI workflow
2026-02-03 08:28:37 +00:00

34 lines
587 B
YAML

on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Display Node.js version
run: node --version
- name: Display npm version
run: npm --version
- name: Install dependencies
run: npm ci || npm install
- name: Build
run: npm run build
- name: Run tests
run: npm test
env:
CI: true