File tree Expand file tree Collapse file tree 2 files changed +5
-38
lines changed
client/packages/lowcoder-comps Expand file tree Collapse file tree 2 files changed +5
-38
lines changed Original file line number Diff line number Diff line change @@ -5,38 +5,15 @@ name: Publish Lowcoder Comps
5
5
6
6
on :
7
7
push :
8
- branches : [ "publish-comps-workflow " ]
8
+ branches : [ "main " ]
9
9
10
10
jobs :
11
- # build:
12
- # runs-on: ubuntu-latest
13
- # steps:
14
- # - uses: actions/checkout@v3
15
- # with:
16
- # fetch-depth: 0
17
- # - uses: actions/setup-node@v3
18
- # - name: Install dependencies
19
- # uses: borales/actions-yarn@v4.2.0
20
- # with:
21
- # cmd: install
22
- # dir: client/packages/lowcoder-comps
23
- # - name: Run tests
24
- # uses: borales/actions-yarn@v4.2.0
25
- # with:
26
- # cmd: test
27
- # dir: client/packages/lowcoder-comps
28
-
29
11
publish-package :
30
- # needs: build
31
12
runs-on : ubuntu-latest
32
13
steps :
33
14
- name : Checkout repository
34
15
uses : actions/checkout@v3
35
- # # Setup .npmrc file to publish to npm
36
- # - uses: actions/setup-node@v3
37
- # with:
38
- # node-version: 16
39
- # registry-url: https://registry.npmjs.org/
16
+
40
17
- name : Check version changes
41
18
uses : EndBug/version-check@v1
42
19
id : check
61
38
with :
62
39
cmd : install
63
40
dir : client/packages/lowcoder-comps
64
- # - name: Run tests
65
- # uses: borales/actions-yarn@v4.2.0
66
- # with:
67
- # cmd: test
68
- # dir: client/packages/lowcoder-comps
69
- # - name: Publish
70
- # uses: JS-DevTools/npm-publish@v3
71
- # with:
72
- # # cmd: build_publish
73
- # package: client/packages/lowcoder-comps
74
- # token: ${{ secrets.NPM_TOKEN }}
41
+
75
42
- name : Publish
76
43
if : steps.check.outputs.changed == 'true'
77
44
uses : borales/actions-yarn@v4.2.0
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " raheel-test -comps" ,
3
- "version" : " 0.0.26 " ,
2
+ "name" : " lowcoder -comps" ,
3
+ "version" : " 0.0.23 " ,
4
4
"type" : " module" ,
5
5
"license" : " MIT" ,
6
6
"dependencies" : {
You can’t perform that action at this time.
0 commit comments