Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d77f337

Browse files
author
邵强强
committed
chore: debug npm
1 parent f7ffcb5 commit d77f337

File tree

4 files changed

+404
-350
lines changed

4 files changed

+404
-350
lines changed

.github/workflows/relese.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# 整个流程的名字
2+
name: Release
3+
# 触发时机,在 tag 被 push 操作触发
4+
on:
5+
push:
6+
tags:
7+
- 'v*'
8+
# 任务,定义个changelog 的任务
9+
jobs:
10+
changelog:
11+
name: Release
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
# 设置 pnpm
16+
- name: Setup PNPM
17+
uses: pnpm/action-setup@v2
18+
with:
19+
version: ^8.0
20+
# 设置 Node
21+
- name: Setup Node
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: 16
25+
cache: pnpm
26+
registry-url: https://registry.npmjs.org
27+
# 安装依赖
28+
- name: Install dependencies
29+
run: pnpm install
30+
# # 打包
31+
# - name: Build Packages
32+
# run: pnpm run build
33+
# 发布npm 发布前执行了prepublishOnly
34+
- name: Publish npm
35+
run: npm publish
36+
env:
37+
# 这里需要几个 Token 变量
38+
# NPM_TOKEN 需要在 npm 网站生成
39+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

demos/vue3-demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"ezuikit-js": "^0.6.5",
12+
"ezuikit-js": "^7.7.10-alpha.1",
1313
"vue": "^3.2.41"
1414
},
1515
"devDependencies": {

0 commit comments

Comments
 (0)