File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Core to npm
2+ on :
3+ push :
4+ tags :
5+ - " core-v*"
6+ permissions :
7+ contents : read
8+ id-token : write
9+ jobs :
10+ publish-core :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 0
16+
17+ - uses : pnpm/action-setup@v4
18+ with :
19+ version : 9
20+
21+ - uses : actions/setup-node@v4
22+ with :
23+ node-version : " 20"
24+ registry-url : " https://registry.npmjs.org"
25+ cache : " pnpm"
26+
27+ - name : Install dependencies
28+ run : pnpm install --frozen-lockfile
29+
30+ - name : Build core package
31+ run : pnpm --filter=@flow-scanner/lightning-flow-scanner-core run build
32+
33+ - name : Publish core to npm (trusted publishing)
34+ run : cd packages/core/out && npm publish --access public --provenance
You can’t perform that action at this time.
0 commit comments