Skip to content

Commit 1d8175c

Browse files
committed
2 parents 3bce521 + 23ecb23 commit 1d8175c

File tree

4 files changed

+33
-3
lines changed

4 files changed

+33
-3
lines changed

.github/workflows/delete npm.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Delete Package Version
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: 'Version to be deleted package@version'
8+
required: true
9+
10+
jobs:
11+
delete-package-version:
12+
runs-on: ubuntu-latest
13+
if: >-
14+
github.ref == 'refs/heads/main' &&
15+
(github.actor == 'JackLian' || github.actor == 'liujuping')
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v2
20+
21+
- name: Set up Node.js
22+
uses: actions/setup-node@v2
23+
with:
24+
node-version: '14'
25+
26+
- name: Delete Package Version
27+
run: |
28+
npm unpublish ${{ github.event.inputs.version }}
29+
env:
30+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/publish npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
3535
cd packages/${{ github.event.inputs.packagePath }}
3636
npm install --legacy-peer-deps
37-
npm version patch
37+
npm version ${{ github.event.inputs.versionType }}
3838
npm run build
3939
4040
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc

packages/plugin-resource-tabs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alilc/lowcode-plugin-resource-tabs",
3-
"version": "1.0.3",
3+
"version": "2.0.0",
44
"description": "alibaba lowcode resource tabs plugin",
55
"files": [
66
"es",

packages/plugin-view-manager-pane/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alilc/lowcode-plugin-view-manager-pane",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"description": "alibaba lowcode editor undo redo plugin",
55
"files": [
66
"es",

0 commit comments

Comments
 (0)