Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [main]
paths:
- 'packages/cli/package.json'
workflow_dispatch:
Comment thread
wan9chi marked this conversation as resolved.
Comment thread
wan9chi marked this conversation as resolved.

permissions: {}

Expand All @@ -14,7 +15,7 @@ env:

jobs:
check:
if: github.repository == 'voidzero-dev/vite-plus'
if: github.repository == 'voidzero-dev/vite-plus' && github.ref == 'refs/heads/main'
name: Check version
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -73,7 +74,7 @@ jobs:

- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .node-version
node-version: '24.18.0'
package-manager-cache: false
registry-url: 'https://registry.npmjs.org'

Expand Down Expand Up @@ -152,9 +153,6 @@ jobs:
pattern: vp-release-archive-*
merge-multiple: true

- name: 'Setup npm'
run: npm install -g npm@latest

- name: Prepare and publish native addons
run: node ./packages/cli/publish-native-addons.ts --mode npm

Expand Down
Loading