Files
news-platform/.gitea/workflows/test.yml
T
spark 5bb70d130d
Tests / writer-pipeline tests (push) Successful in 26s
Tests / frontend lib tests (push) Successful in 25s
Tests / bridge tests (push) Successful in 28s
ci(runtime): upgrade Gitea Actions Node.js to 24.22.1 (BIT-31729)
Paperclip-Issue: BIT-31729
2026-10-23 18:39:08 +01:00

60 lines
1.4 KiB
YAML

name: Tests
on:
push:
branches: ["**"]
pull_request:
branches: [main]
jobs:
writer-pipeline:
name: writer-pipeline tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: writer-pipeline
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "24.22.1"
cache: "npm"
cache-dependency-path: writer-pipeline/package-lock.json
- run: npm ci
- name: Run tests with coverage
run: npm run test:coverage
bridge:
name: bridge tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: bridge
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "24.22.1"
cache: "npm"
cache-dependency-path: bridge/package-lock.json
- run: npm ci
- name: Run tests with coverage
run: npm run test:coverage
frontend-lib:
name: frontend lib tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "24.22.1"
cache: "npm"
cache-dependency-path: frontend/package-lock.json
- run: npm install
- name: Run lib tests with coverage
run: npm run test:coverage