Skip to content

Commit b2391c7

Browse files
fix: publish lowcoder-comps fix
1 parent ed94ca6 commit b2391c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish-comps.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ jobs:
3535
with:
3636
node-version: 16
3737
registry-url: https://registry.npmjs.org/
38-
- run: npm whoami
38+
- run: cat ~/.npmrc
39+
- run: echo ${{ secrets.NPM_TOKEN }}
3940
- name: Install dependencies
4041
uses: borales/actions-yarn@v4.2.0
4142
with:
@@ -47,4 +48,4 @@ jobs:
4748
cmd: build_publish
4849
dir: client/packages/lowcoder-comps
4950
env:
50-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
51+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)