Skip to content

Commit

Permalink
build: complete the publish package automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
oneWalker committed Nov 6, 2024
1 parent 2ab6b51 commit 2381282
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish Package

on:
push:
branches: [ cur-publish, cur-publish-dev ]
branches: [ cur-publish]

jobs:
publish:
Expand All @@ -20,8 +20,8 @@ jobs:
- name: Install dependencies
run: npm install

# - name: Publish to npmjs
# run: npm publish --//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
- name: Publish to npmjs
run: npm publish --//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}

- name: Set up Node.js
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onewalker/egg-mongoose",
"version": "4.1.3",
"version": "4.1.4",
"description": "egg mongoose plugin advanced by @oneWalker",
"eggPlugin": {
"name": "mongoose"
Expand Down

0 comments on commit 2381282

Please sign in to comment.