Skip to content

Commit 41470f0

Browse files
test lowcoder-cli pipeline
1 parent 74d17a7 commit 41470f0

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/publish-lowcoder-cli.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,18 @@ jobs:
3838
with:
3939
cmd: install
4040
dir: client/packages/lowcoder-cli
41-
42-
- name: Publish
41+
42+
- name: Publish package to NPM
4343
if: steps.check.outputs.changed == 'true'
44-
uses: borales/actions-yarn@v4.2.0
45-
with:
46-
cmd: publish
47-
dir: client/packages/lowcoder-cli
44+
run: npm publish
45+
working-directory: client/packages/lowcoder-cli
4846
env:
49-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
47+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
48+
# - name: Publish
49+
# if: steps.check.outputs.changed == 'true'
50+
# uses: borales/actions-yarn@v4.2.0
51+
# with:
52+
# cmd: publish
53+
# dir: client/packages/lowcoder-cli
54+
# env:
55+
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)