Files
radicle-explorer/.github/workflows/shared-core.yml
T
Rūdolfs Ošiņš ee80f7d6f4 Add shared core package and query cache
Core holds the keys of the data both apps read and maps a node's ref
updates to the keys they affect. The query cache wraps TanStack Query for
runes, as decided in ADRs 4 and 5.
2026-11-20 19:32:16 +01:00

40 lines
836 B
YAML

name: shared-core
# Only shared/core changes, root npm changes, or changes to this workflow, run it.
on:
pull_request:
paths:
- "shared/core/**"
- "package.json"
- "package-lock.json"
- ".npmrc"
- ".nvmrc"
- ".github/workflows/shared-core.yml"
push:
paths:
- "shared/core/**"
- "package.json"
- "package-lock.json"
- ".npmrc"
- ".nvmrc"
- ".github/workflows/shared-core.yml"
workflow_dispatch:
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
defaults:
run:
working-directory: shared/core
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: ".nvmrc"
- run: npm ci
- run: npm run check
- run: npm run test:unit