Thanks to visit codestin.com
Credit goes to github.com

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
2 changes: 2 additions & 0 deletions .changeset/fluffy-jeans-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
18 changes: 0 additions & 18 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ on:
- "Cargo.lock"
- "rust-toolchain.toml"
- "rustfmt.toml"
# Needed for auto fixing rule versions
- "packages/@biomejs/biome/package.json"
permissions:
contents: read

Expand Down Expand Up @@ -55,19 +53,3 @@ jobs:
taplo format

- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
autofix-rule-versions:
runs-on: depot-ubuntu-24.04-arm-4
if: "github.event.pull_request.title == 'ci: release'"
steps:
- name: Checkout branch
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0

- run: |
sudo apt-get update
sudo apt-get install ripgrep

- name: Update rule versions
run: |
scripts/update-next-version.sh --replace "$(jq --raw-output .version packages/@biomejs/biome/package.json)"

- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
18 changes: 15 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,19 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Update rule version metadata
run: |
sudo apt-get update
sudo apt-get install -y ripgrep
pnpm exec changeset status --output="changeset_status.json"
NEW_VERSION=$(jq -r '.releases[] | select(.name=="@biomejs/biome") | .newVersion' changeset_status.json)
rm changeset_status.json
if [ -z "$NEW_VERSION" ]; then
echo "No new @biomejs/biome version detected; skipping rule version metadata update."
exit 0
fi
scripts/update-next-version.sh --replace "$NEW_VERSION"

- name: Create Release Pull Request
id: changesets-action
uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba # v1.5.3
Expand Down Expand Up @@ -275,7 +288,6 @@ jobs:
restore-keys: |
${{ runner.os }}-
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: Compile backends
run: |
pnpm --filter @biomejs/js-api run build:wasm-bundler
Expand Down Expand Up @@ -329,7 +341,7 @@ jobs:
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20.19.4
registry-url: 'https://registry.npmjs.org'
registry-url: "https://registry.npmjs.org"

- name: Install pnpm
run: |
Expand Down Expand Up @@ -412,7 +424,7 @@ jobs:
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20.19.4
registry-url: 'https://registry.npmjs.org'
registry-url: "https://registry.npmjs.org"

- name: Install pnpm
run: |
Expand Down