Skip to content

Commit

Permalink
ci: 🎡 新增release action
Browse files Browse the repository at this point in the history
  • Loading branch information
Plumbiu committed Aug 9, 2023
1 parent 59d8079 commit 0144ccd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autoPublish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:
version: pnpm changeset version
commit: "chore: update versions"
title: "chore: update versions"
publish: pnpm ci:publish
publish: pnpm publish -r --no-git-checks
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 14 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: release-please
on:
# workflow_dispatch:
push:
branches:
- main
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: node
package-name: release-please-action
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@
"dev:cli": "nodemon",
"dev:web": "pnpm -F web dev",
"test": "vitest run",
"build": "ts-node --esm scripts/build.ts",
"build": "ts-node scripts/build.ts",
"prepare": "husky install",
"commit": "git-cz",
"ci:publish": "pnpm publish -r --no-git-checks"
"commit": "git-cz"
},
"license": "MIT",
"devDependencies": {
Expand Down

0 comments on commit 0144ccd

Please sign in to comment.