@jiexiaoyin/wecom-api 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- name: Publish to npm
1
+ name: Publish to npm and create Release
2
2
 
3
3
  on:
4
4
  push:
@@ -12,13 +12,23 @@ jobs:
12
12
  contents: read
13
13
  steps:
14
14
  - uses: actions/checkout@v4
15
+
15
16
  - uses: actions/setup-node@v4
16
17
  with:
17
18
  node-version: '20'
18
19
  registry-url: 'https://registry.npmjs.org'
20
+
19
21
  - name: Install dependencies
20
22
  run: npm ci
23
+
21
24
  - name: Publish to npm
22
25
  run: npm publish --access public
23
26
  env:
24
27
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
28
+
29
+ - name: Create GitHub Release
30
+ uses: softprops/action-gh-release@v2
31
+ with:
32
+ generate_release_notes: true
33
+ env:
34
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jiexiaoyin/wecom-api",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "企业微信 API OpenClaw 插件,提供 32+ API 模块和事件回调处理",
5
5
  "main": "src/index.js",
6
6
  "exports": {