Skip to content

Commit 0fde1e1

Browse files
Aslemammadsxzz
andauthored
ci: continuous releases with pkg.pr.new (#264)
Co-authored-by: 三咲智子 Kevin Deng <[email protected]>
1 parent a8248cf commit 0fde1e1

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ jobs:
6464
release:
6565
concurrency:
6666
group: release
67-
if: |
68-
github.repository == 'vuejs/core-vapor' &&
69-
github.event_name == 'push' &&
70-
!contains(github.event.head_commit.message, 'skip release')
7167
runs-on: ubuntu-latest
7268
needs: [unit-test, lint-and-test-dts]
7369
permissions:
@@ -88,10 +84,11 @@ jobs:
8884

8985
- run: pnpm install
9086

91-
- run: pnpm release --vapor --skipTests --tag ${{ github.ref == 'refs/heads/main' && 'latest' || 'branch' }}
92-
env:
93-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
94-
NPM_CONFIG_PROVENANCE: 'true'
87+
- name: Build
88+
run: pnpm build --withTypes
89+
90+
- name: Publish
91+
run: pnpm dlx [email protected] publish './packages/*' --template './playground' --pnpm
9592

9693
# benchmarks:
9794
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)