Skip to content

docs: add Zenodo metadata for DOI archival (#82) #4

docs: add Zenodo metadata for DOI archival (#82)

docs: add Zenodo metadata for DOI archival (#82) #4

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
release:
name: Build and release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v6
with:
node-version-file: ".node-version"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run all checks
run: |
pnpm typecheck
pnpm lint
pnpm test
pnpm validate
pnpm lint-ids
pnpm check-references
- name: Export JSON
run: pnpm export-json
- name: Export web bundle
run: pnpm export-web
- name: Create release archive
run: |
cd build/exports
tar -czf ../../clarvia-graph-${{ github.ref_name }}.tar.gz .
cd ../..
- name: Create GitHub Release
uses: softprops/action-gh-release@v3
with:
files: clarvia-graph-${{ github.ref_name }}.tar.gz
generate_release_notes: true
body: |
## Clarvia Graph ${{ github.ref_name }}
This release contains:
- `json/` — full graph data as JSON
- `web/manifest.json` — web runtime manifest
- `web/intake/*.json` — intake question sets per life event
- `web/runtime/*.json` — pre-compiled runtime data per life event
The web export zip (`clarvia-web-export-*.zip`) is attached separately
by the Release Web Export workflow.