ci: continuous releases with pkg.pr.new (#264)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
This commit is contained in:
parent
a8248cf152
commit
0fde1e13a9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue