Skip to content

Commit

Permalink
fix: Auto releease on github action
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Dec 17, 2022
1 parent 8036543 commit 56f2c9c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release

on:
# 合并后自动发布
push:
branches: [ master ]

# 手动发布
workflow_dispatch: {}

jobs:
release:
name: Node.js
uses: artusjs/github-actions/.github/workflows/node-release.yml@v1
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
with:
checkTest: false
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,5 @@
},
"engines": {
"node": ">= 8.0.0"
},
"ci": {
"type": "github",
"version": "8, 10, 12, 14, 16"
}
}

0 comments on commit 56f2c9c

Please sign in to comment.