Skip to content

Commit 01c0fb9

Browse files
RubenHalmanRubenHalman
authored andcommitted
fix(ci): restore registry-url and publish from out/ after prepare:publish
1 parent 175af70 commit 01c0fb9

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/publish-core.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- uses: actions/setup-node@v4
2121
with:
2222
node-version: "20"
23+
registry-url: "https://registry.npmjs.org"
2324
cache: "pnpm"
2425

2526
- name: Install dependencies
@@ -31,6 +32,10 @@ jobs:
3132
- name: Build core package
3233
run: pnpm --filter=@flow-scanner/lightning-flow-scanner-core run build
3334

34-
- name: Publish
35+
- name: Prepare publish
3536
working-directory: packages/core
37+
run: node ../../.github/scripts/prepare-publish.js
38+
39+
- name: Publish
40+
working-directory: packages/core/out
3641
run: npm publish --provenance --access public

0 commit comments

Comments
 (0)