Skip to content

Commit 45d7cce

Browse files
publish lowcoder-comps workflow
1 parent 85feb40 commit 45d7cce

File tree

2 files changed

+5
-38
lines changed

2 files changed

+5
-38
lines changed

.github/workflows/publish-comps.yml renamed to .github/workflows/publish-lowcoder-comps.yml

Lines changed: 3 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,15 @@ name: Publish Lowcoder Comps
55

66
on:
77
push:
8-
branches: [ "publish-comps-workflow" ]
8+
branches: [ "main" ]
99

1010
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-
2911
publish-package:
30-
# needs: build
3112
runs-on: ubuntu-latest
3213
steps:
3314
- name: Checkout repository
3415
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+
4017
- name: Check version changes
4118
uses: EndBug/version-check@v1
4219
id: check
@@ -61,17 +38,7 @@ jobs:
6138
with:
6239
cmd: install
6340
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+
7542
- name: Publish
7643
if: steps.check.outputs.changed == 'true'
7744
uses: borales/actions-yarn@v4.2.0

client/packages/lowcoder-comps/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "raheel-test-comps",
3-
"version": "0.0.26",
2+
"name": "lowcoder-comps",
3+
"version": "0.0.23",
44
"type": "module",
55
"license": "MIT",
66
"dependencies": {

0 commit comments

Comments
 (0)