Skip to content

Commit a987f29

Browse files
test workflow
1 parent 763b6f1 commit a987f29

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

.github/workflows/publish-comps.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,28 @@ jobs:
3636
with:
3737
node-version: 16
3838
registry-url: https://registry.npmjs.org/
39-
# Use this GitHub Action
40-
- name: Check package version
41-
uses: technote-space/package-version-check-action@v1
42-
with:
43-
COMMIT_DISABLED: 1
4439
# - run: cat .npmrc
4540
- run: echo ${{ secrets }}
4641
- name: Install dependencies
4742
uses: borales/actions-yarn@v4.2.0
4843
with:
4944
cmd: install
5045
dir: client/packages/lowcoder-comps
51-
- name: Publish
46+
- name: Run tests
5247
uses: borales/actions-yarn@v4.2.0
48+
with:
49+
cmd: test
50+
dir: client/packages/lowcoder-comps
51+
- name: Publish
52+
uses: JS-DevTools/npm-publish@v3
5353
with:
5454
cmd: build_publish
5555
dir: client/packages/lowcoder-comps
56-
env:
57-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
56+
token: ${{ secrets.NPM_TOKEN }}
57+
# - name: Publish
58+
# uses: borales/actions-yarn@v4.2.0
59+
# with:
60+
# cmd: build_publish
61+
# dir: client/packages/lowcoder-comps
62+
# env:
63+
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)