Browse Source

build: Add conventional-github-releaser plugin

kailong321200875 3 years ago
parent
commit
3cd5c71899
3 changed files with 249 additions and 541 deletions
  1. 1 1
      .github/workflows/release.yml
  2. 2 0
      package.json
  3. 246 540
      pnpm-lock.yaml

+ 1 - 1
.github/workflows/release.yml

@@ -15,6 +15,6 @@ jobs:
       - uses: actions/setup-node@v2
         with:
           node-version: '14'
-      - run: npx conventional-github-releaser -p angular
+      - run: npm run github-release
         env:
           CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.ACTIONS_DEPLOY_KEY}}

+ 2 - 0
package.json

@@ -17,6 +17,7 @@
     "npm:check": "npx npm-check-updates",
     "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
     "release": "standard-version",
+    "github-release": "conventional-github-releaser -p angular",
     "clean": "npx rimraf node_modules",
     "clean:cache": "npx rimraf node_modules/.cache",
     "lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src",
@@ -71,6 +72,7 @@
     "autoprefixer": "^10.4.2",
     "commitizen": "^4.2.4",
     "conventional-changelog-cli": "^2.2.2",
+    "conventional-github-releaser": "^3.1.5",
     "eslint": "^8.9.0",
     "eslint-config-prettier": "^8.3.0",
     "eslint-define-config": "^1.2.5",

File diff suppressed because it is too large
+ 246 - 540
pnpm-lock.yaml


Some files were not shown because too many files changed in this diff