mirror of
https://gitea.redwind.top/Austin/subscription
synced 2024-11-16 23:53:40 +08:00
chore: actions pnpm publish
This commit is contained in:
parent
99185294dc
commit
98f55d6917
4
.github/workflows/release-please.yml
vendored
4
.github/workflows/release-please.yml
vendored
|
@ -1,3 +1,5 @@
|
||||||
|
name: release-please
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
@ -7,8 +9,6 @@ permissions:
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
||||||
name: release-please
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release-please:
|
release-please:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -43,6 +43,11 @@ jobs:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
branch: ${{ github.ref }}
|
branch: ${{ github.ref }}
|
||||||
|
|
||||||
|
- name: Publish package
|
||||||
|
run: |
|
||||||
|
pnpm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
|
||||||
|
publish
|
||||||
|
|
||||||
- name: Log
|
- name: Log
|
||||||
if: ${{ steps.commit.outcome != 'success' }}
|
if: ${{ steps.commit.outcome != 'success' }}
|
||||||
run: echo Nothing to commit.
|
run: echo Nothing to commit.
|
Loading…
Reference in New Issue
Block a user