chore(github): separate builds (#3885)

This commit is contained in:
Sandro Circi
2025-04-16 10:26:10 +02:00
committed by GitHub
parent 2d5c881639
commit 5d10f242bd

View File

@@ -18,7 +18,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, windows-latest] # macos-latest os: ${{ github.event_name == 'pull_request' && fromJSON('["ubuntu-latest"]') || fromJSON('["ubuntu-latest", "windows-latest"]') }} # macos-latest
node: [22] node: [22]
env: env:
@@ -65,7 +65,8 @@ jobs:
run: pnpm run dev:vue:build run: pnpm run dev:vue:build
- name: Publish - name: Publish
if: matrix.os != 'windows-latest' # Only publish preview package on ubuntu during PRs
if: matrix.os == 'ubuntu-latest'
run: pnpx pkg-pr-new publish --compact --no-template --pnpm run: pnpx pkg-pr-new publish --compact --no-template --pnpm
starter-nuxt: starter-nuxt: