ci: continuous releases with pkg.pr.new (#264)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
This commit is contained in:
Mohammad Bagher Abiyat 2024-07-27 01:55:34 +03:30 committed by GitHub
parent a8248cf152
commit 0fde1e13a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 8 deletions

View File

@ -64,10 +64,6 @@ jobs:
release:
concurrency:
group: release
if: |
github.repository == 'vuejs/core-vapor' &&
github.event_name == 'push' &&
!contains(github.event.head_commit.message, 'skip release')
runs-on: ubuntu-latest
needs: [unit-test, lint-and-test-dts]
permissions:
@ -88,10 +84,11 @@ jobs:
- run: pnpm install
- run: pnpm release --vapor --skipTests --tag ${{ github.ref == 'refs/heads/main' && 'latest' || 'branch' }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: 'true'
- name: Build
run: pnpm build --withTypes
- name: Publish
run: pnpm dlx pkg-pr-new@0.0 publish './packages/*' --template './playground' --pnpm
# benchmarks:
# runs-on: ubuntu-latest