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