husky only on dev #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |