Skip to content

husky only on dev

husky only on dev #5

Workflow file for this run

name: Publish Core to npm
on:
push:
tags:
- "core-v*" # Use core-v1.0.0 for core releases
permissions:
contents: read
id-token: write
security-events: write
jobs:
publish-core:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build core package
run: pnpm --filter=@flow-scanner/lightning-flow-scanner-core run build
- name: Publish core to npm (trusted publishing)
run: cd packages/core/out && npm publish --access public --provenance