35 lines
886 B
YAML
35 lines
886 B
YAML
name: ci
|
|
|
|
# Fast test feedback on daily development. No builds, no releases — those only
|
|
# happen on v* tags via build.yml.
|
|
on:
|
|
push:
|
|
branches: [feat/ismis-helper, feat/ismis-helper-v1.4.0, prod]
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
|
|
- name: Install dev dependencies
|
|
run: npm ci || npm install
|
|
|
|
- name: Install PyMuPDF + openpyxl (PDF text + XLSX validation)
|
|
run: |
|
|
python3 -m venv /tmp/venv
|
|
/tmp/venv/bin/pip install --quiet pymupdf openpyxl
|
|
echo "/tmp/venv/bin" >> "$GITHUB_PATH"
|
|
|
|
- name: Run tests
|
|
run: npm test
|
|
|
|
- name: Validate exports open in real readers
|
|
run: node scripts/validate-exports.js |