Skip to content

Commit 3313b80

Browse files
committed
chore: debug npm cli publish in CI
1 parent 8eaf951 commit 3313b80

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/debug-npm-auth.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
jobs:
77
debug:
88
runs-on: ubuntu-latest
9+
permissions:
10+
id-token: write
11+
contents: read
912
steps:
1013
- uses: actions/checkout@v4
1114
- uses: pnpm/action-setup@v4
@@ -20,3 +23,9 @@ jobs:
2023
echo "token length: ${#NODE_AUTH_TOKEN}"
2124
echo "first 7 chars: ${NODE_AUTH_TOKEN:0:7}"
2225
npm whoami --registry=https://registry.npmjs.org
26+
- name: publish flow-builder with npm cli
27+
env:
28+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
29+
run: |
30+
cd packages/flow-builder
31+
npm publish --registry=https://registry.npmjs.org --access public --provenance

0 commit comments

Comments
 (0)