Skip to content
Merged
Show file tree
Hide file tree
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
17 changes: 17 additions & 0 deletions .github/workflows/reusable_prepare_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,23 @@ jobs:
echo EOF
} >> $GITHUB_OUTPUT

- uses: oxc-project/setup-node@fdbf0dfd334c4e6d56ceeb77d91c76339c2a0885 # v1.0.4
if: ${{ inputs.name == 'crates' || inputs.name == 'oxlint' }}

# Run NAPI-RS build, because NAPI-RS uses version from `package.json` in the bindings file,
# which is committed to the repo. The version has just been bumped in previous step.
# We don't use the compiled `.node` binary, so only do a development build, as it's faster.
- name: Rebuild NAPI packages bindings
if: ${{ inputs.name == 'crates' }}
run: |
pnpm --filter oxc-minify run build-dev
pnpm --filter oxc-parser run build-dev
pnpm --filter oxc-transform run build-dev

- name: Rebuild Oxlint NAPI bindings
if: ${{ inputs.name == 'oxlint' }}
run: pnpm --filter oxlint run build-dev

# update `Cargo.lock`
- run: cargo check

Expand Down
1 change: 1 addition & 0 deletions oxc_release.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ name = "oxlint"
scopes_for_breaking_change = ["lint"]
versioned_files = [
"apps/oxlint/Cargo.toml",
"apps/oxlint/package.json",
"crates/oxc_linter/Cargo.toml",
"editors/vscode/package.json",
"npm/oxlint/package.json",
Expand Down
Loading