Tests / bridge tests (push) Successful in 39s
Tests / writer-pipeline tests (push) Successful in 42s
Tests / writer-pipeline tests (pull_request) Successful in 45s
Tests / frontend lib tests (push) Successful in 55s
Tests / bridge tests (pull_request) Successful in 35s
Tests / frontend lib tests (pull_request) Successful in 47s
Align docker-compose, engines, nvmrc, and CI with the company runtime baseline. Official wordpress:6-php8.5-fpm ships PHP 8.5.6 today; host Node must move to 24.22.1 Active LTS. Paperclip-Issue: BIT-31729 Paperclip-Run: 8b5ae44d-b3e7-430e-871e-d5fcb1bd9fb1
60 lines
1.4 KiB
YAML
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
|