File tree Expand file tree Collapse file tree 1 file changed +16
-19
lines changed Expand file tree Collapse file tree 1 file changed +16
-19
lines changed Original file line number Diff line number Diff line change 1- name : Publish to npm
2-
1+ name : Publish Core to npm
32on :
43 push :
54 tags :
6- - " core-v*"
7-
5+ - " core-v*" # Use core-v1.0.0 for core releases
86permissions :
97 contents : read
108 id-token : write
11-
9+ security-events : write
1210jobs :
13- publish :
11+ publish-core :
1412 runs-on : ubuntu-latest
15-
1613 steps :
1714 - uses : actions/checkout@v4
1815 with :
1916 fetch-depth : 0
20-
17+
18+ - uses : pnpm/action-setup@v4
19+
2120 - uses : actions/setup-node@v4
2221 with :
23- node-version : 20
22+ node-version : " 20 "
2423 registry-url : " https://registry.npmjs.org"
25-
26- - name : Update npm
27- run : npm install -g npm@latest
28-
24+ cache : " pnpm"
25+
2926 - name : Install dependencies
30- run : npm ci
31-
32- - name : Build
33- run : npm run build
34-
27+ run : pnpm install --frozen-lockfile
28+
29+ - name : Build core package
30+ run : pnpm --filter=@flow-scanner/lightning-flow-scanner-core run build
31+
3532 - name : Publish
3633 working-directory : packages/core
37- run : npm publish --provenance --access public
34+ run : npm publish --provenance --access public
You can’t perform that action at this time.
0 commit comments