chore: actions pnpm publish

This commit is contained in:
lisonge 2023-09-04 19:25:02 +08:00
parent 99185294dc
commit 98f55d6917
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,5 @@
name: release-please
on:
push:
branches:
@ -7,8 +9,6 @@ permissions:
contents: write
pull-requests: write
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest

View File

@ -43,6 +43,11 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
- name: Publish package
run: |
pnpm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
publish
- name: Log
if: ${{ steps.commit.outcome != 'success' }}
run: echo Nothing to commit.