Skip to content

Commit

Permalink
test: 💍 测试发布npm
Browse files Browse the repository at this point in the history
  • Loading branch information
danni-cool committed Dec 25, 2023
1 parent 4c983ce commit 1a1cfd8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci

# New step to copy docs/cli.readme.md to readme.md
- name: Replace README.md
run: cp docs/CLI.README.md readme.md

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_SECRET }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "wechatbot-webhook",
"name": "wechatbot-webhook2",
"version": "2.4.2",
"description": "给微信里加个 webhook 机器人,支持docker部署",
"keywords": ["wechat","bot","webhook","wechaty","http-service"],
Expand Down

0 comments on commit 1a1cfd8

Please sign in to comment.