ci/woodpecker/push/config Pipeline was successful
ci/woodpecker/push/hledger Pipeline was successful
ci/woodpecker/push/jobs Pipeline was successful
ci/woodpecker/push/snapshots Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
ci/woodpecker/push/worker Pipeline was successful
Add source-mounted development and compiled preview Compose workflows, pruned app images, and a checksum-verified BusyBox-compatible hledger installer. Add per-app and per-package GitHub/Woodpecker pipelines, a hydrated query browser smoke test, production package file lists, and local workflow documentation. Keep pending snapshot and application-lifecycle changes out of this commit.
56 lines
1.5 KiB
YAML
56 lines
1.5 KiB
YAML
name: CI (Hledger Package)
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- '.github/workflows/hledger.yml'
|
|
- 'packages/hledger/**'
|
|
- 'packages/snapshots/**'
|
|
- 'apps/worker/fixtures/**'
|
|
- 'tools/**'
|
|
- 'package.json'
|
|
- 'pnpm-workspace.yaml'
|
|
- 'pnpm-lock.yaml'
|
|
- 'tsconfig.base.json'
|
|
pull_request:
|
|
branches: [main]
|
|
paths:
|
|
- '.github/workflows/hledger.yml'
|
|
- 'packages/hledger/**'
|
|
- 'packages/snapshots/**'
|
|
- 'apps/worker/fixtures/**'
|
|
- 'tools/**'
|
|
- 'package.json'
|
|
- 'pnpm-workspace.yaml'
|
|
- 'pnpm-lock.yaml'
|
|
- 'tsconfig.base.json'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test-and-build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: pnpm/action-setup@v6
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version: 26.5.0
|
|
cache: pnpm
|
|
- run: pnpm install --frozen-lockfile
|
|
- name: Install pinned native CLI
|
|
run: |
|
|
sh tools/install-hledger.sh "$RUNNER_TEMP/hledger-bin"
|
|
echo "$RUNNER_TEMP/hledger-bin" >> "$GITHUB_PATH"
|
|
- name: Build package and dependencies
|
|
run: pnpm --filter '@hledger-reports/hledger...' build
|
|
- name: Check
|
|
run: pnpm --filter @hledger-reports/hledger check
|
|
- name: Lint
|
|
run: pnpm --filter @hledger-reports/hledger lint
|
|
- name: Test
|
|
run: pnpm --filter @hledger-reports/hledger test
|