Skip to content

Commit 9696dc3

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

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/publish-comps.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ jobs:
3535
with:
3636
node-version: 16
3737
registry-url: https://registry.npmjs.org/
38-
- run: cat ~/.npmrc
38+
name: Configure npm
39+
run: |
40+
echo '//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}' > .npmrc
41+
cat .npmrc
42+
env:
43+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3944
- run: echo ${{ secrets.NPM_TOKEN }}
4045
- name: Install dependencies
4146
uses: borales/actions-yarn@v4.2.0

0 commit comments

Comments
 (0)