Skip to content

Commit 96751cd

Browse files
test workflow
1 parent 86ece8e commit 96751cd

File tree

3 files changed

+46
-61
lines changed

3 files changed

+46
-61
lines changed

.github/workflows/publish-comps.yml

Lines changed: 17 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -28,40 +28,25 @@ jobs:
2828

2929
publish-package:
3030
# needs: build
31-
# runs-on: ubuntu-latest
32-
# steps:
33-
# - uses: actions/checkout@v3
34-
# # Setup .npmrc file to publish to npm
35-
# - uses: actions/setup-node@v3
36-
# with:
37-
# node-version: 16
38-
# registry-url: https://registry.npmjs.org/
39-
# # - run: cat .npmrc
40-
# - run: echo ${{ secrets }}
41-
# - name: Install dependencies
42-
# uses: borales/actions-yarn@v4.2.0
43-
# with:
44-
# cmd: install
45-
# dir: client/packages/lowcoder-comps
46-
# - name: Publish
47-
# uses: borales/actions-yarn@v4.2.0
48-
# with:
49-
# cmd: build_publish
50-
# dir: client/packages/lowcoder-comps
51-
# env:
52-
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5331
runs-on: ubuntu-latest
5432
steps:
55-
- name: Checkout
56-
uses: actions/checkout@v2
57-
- name: Setup Node
58-
uses: actions/setup-node@v2
33+
- uses: actions/checkout@v3
34+
# Setup .npmrc file to publish to npm
35+
- uses: actions/setup-node@v3
5936
with:
60-
node-version: '16'
61-
registry-url: 'https://registry.npmjs.org'
62-
- name: Install dependencies and build 🔧
63-
run: npm ci && npm run build
64-
- name: Publish package to NPM 📦
65-
run: npm publish
37+
node-version: 16
38+
registry-url: https://registry.npmjs.org/
39+
# - run: cat .npmrc
40+
- run: echo ${{ secrets }}
41+
- name: Install dependencies
42+
uses: borales/actions-yarn@v4.2.0
43+
with:
44+
cmd: install
45+
dir: client/packages/lowcoder-comps
46+
- name: Publish
47+
uses: borales/actions-yarn@v4.2.0
48+
with:
49+
cmd: build_publish
50+
dir: client/packages/lowcoder-comps
6651
env:
6752
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

client/packages/lowcoder-comps/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "test-comps",
2+
"name": "raheel-test-comps",
33
"version": "0.0.23",
44
"type": "module",
55
"license": "MIT",

client/yarn.lock

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -13725,6 +13725,34 @@ __metadata:
1372513725
languageName: node
1372613726
linkType: hard
1372713727

13728+
"raheel-test-comps@workspace:packages/lowcoder-comps":
13729+
version: 0.0.0-use.local
13730+
resolution: "raheel-test-comps@workspace:packages/lowcoder-comps"
13731+
dependencies:
13732+
"@fullcalendar/core": ^6.1.6
13733+
"@fullcalendar/daygrid": ^6.1.6
13734+
"@fullcalendar/interaction": ^6.1.6
13735+
"@fullcalendar/list": ^6.1.9
13736+
"@fullcalendar/moment": ^6.1.6
13737+
"@fullcalendar/react": ^6.1.6
13738+
"@fullcalendar/timegrid": ^6.1.6
13739+
"@types/react": ^18.2.45
13740+
"@types/react-dom": ^18.2.18
13741+
big.js: ^6.2.1
13742+
echarts-extension-gmap: ^1.6.0
13743+
echarts-wordcloud: ^2.1.0
13744+
jest: 29.3.0
13745+
lowcoder-cli: "workspace:^"
13746+
lowcoder-sdk: "workspace:^"
13747+
mermaid: ^10.6.1
13748+
react: ^18.2.0
13749+
react-dom: ^18.2.0
13750+
typescript: 4.8.4
13751+
vite: ^4.3.9
13752+
vite-tsconfig-paths: ^3.6.0
13753+
languageName: unknown
13754+
linkType: soft
13755+
1372813756
"randombytes@npm:^2.0.0, randombytes@npm:^2.0.1, randombytes@npm:^2.0.5, randombytes@npm:^2.1.0":
1372913757
version: 2.1.0
1373013758
resolution: "randombytes@npm:2.1.0"
@@ -16560,34 +16588,6 @@ __metadata:
1656016588
languageName: node
1656116589
linkType: hard
1656216590

16563-
"test-comps@workspace:packages/lowcoder-comps":
16564-
version: 0.0.0-use.local
16565-
resolution: "test-comps@workspace:packages/lowcoder-comps"
16566-
dependencies:
16567-
"@fullcalendar/core": ^6.1.6
16568-
"@fullcalendar/daygrid": ^6.1.6
16569-
"@fullcalendar/interaction": ^6.1.6
16570-
"@fullcalendar/list": ^6.1.9
16571-
"@fullcalendar/moment": ^6.1.6
16572-
"@fullcalendar/react": ^6.1.6
16573-
"@fullcalendar/timegrid": ^6.1.6
16574-
"@types/react": ^18.2.45
16575-
"@types/react-dom": ^18.2.18
16576-
big.js: ^6.2.1
16577-
echarts-extension-gmap: ^1.6.0
16578-
echarts-wordcloud: ^2.1.0
16579-
jest: 29.3.0
16580-
lowcoder-cli: "workspace:^"
16581-
lowcoder-sdk: "workspace:^"
16582-
mermaid: ^10.6.1
16583-
react: ^18.2.0
16584-
react-dom: ^18.2.0
16585-
typescript: 4.8.4
16586-
vite: ^4.3.9
16587-
vite-tsconfig-paths: ^3.6.0
16588-
languageName: unknown
16589-
linkType: soft
16590-
1659116591
"test-exclude@npm:^6.0.0":
1659216592
version: 6.0.0
1659316593
resolution: "test-exclude@npm:6.0.0"

0 commit comments

Comments
 (0)