|
|
@@ -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
|