mirror of
https://github.com/biomejs/biome.git
synced 2025-12-23 08:21:13 +00:00
ci(workflow): use depot for all jobs (#5664)
This commit is contained in:
parent
a8af330fb5
commit
28fd978f85
15 changed files with 31 additions and 31 deletions
2
.github/workflows/bench_cli.yml
vendored
2
.github/workflows/bench_cli.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
pull-requests: write
|
||||
name: Bench
|
||||
if: github.event.issue.pull_request && contains(github.event.comment.body, '!bench_cli')
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
|
||||
steps:
|
||||
- name: Get PR SHA
|
||||
|
|
|
|||
2
.github/workflows/benchmark.yml
vendored
2
.github/workflows/benchmark.yml
vendored
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
permissions:
|
||||
pull-requests: write
|
||||
name: Bench
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
|
||||
steps:
|
||||
|
||||
|
|
|
|||
6
.github/workflows/beta.yml
vendored
6
.github/workflows/beta.yml
vendored
|
|
@ -13,7 +13,7 @@ env:
|
|||
jobs:
|
||||
version:
|
||||
name: Generate version
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
outputs:
|
||||
version: ${{ env.version }}
|
||||
steps:
|
||||
|
|
@ -127,7 +127,7 @@ jobs:
|
|||
|
||||
build-wasm:
|
||||
name: Build WASM
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
|
@ -154,7 +154,7 @@ jobs:
|
|||
|
||||
publish:
|
||||
name: Publish
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
needs:
|
||||
- build
|
||||
- build-wasm
|
||||
|
|
|
|||
6
.github/workflows/beta_js_api.yml
vendored
6
.github/workflows/beta_js_api.yml
vendored
|
|
@ -13,7 +13,7 @@ env:
|
|||
jobs:
|
||||
version:
|
||||
name: Generate version
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
outputs:
|
||||
version: ${{ env.version }}
|
||||
steps:
|
||||
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
build:
|
||||
needs: version
|
||||
name: Package JavaScript APIs
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
|
||||
env:
|
||||
version: ${{ needs.version.outputs.version }}
|
||||
|
|
@ -80,7 +80,7 @@ jobs:
|
|||
|
||||
publish:
|
||||
name: Publish
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
needs: build
|
||||
environment: npm-publish
|
||||
permissions:
|
||||
|
|
|
|||
2
.github/workflows/close-issue.yml
vendored
2
.github/workflows/close-issue.yml
vendored
|
|
@ -11,7 +11,7 @@ permissions:
|
|||
jobs:
|
||||
close-issues:
|
||||
if: github.repository == 'biomejs/biome'
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-small
|
||||
steps:
|
||||
- name: Close issue without reproduction
|
||||
uses: actions-cool/issues-helper@a610082f8ac0cf03e357eb8dd0d5e2ba075e017e # v3.6.0
|
||||
|
|
|
|||
2
.github/workflows/labels.yml
vendored
2
.github/workflows/labels.yml
vendored
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-small
|
||||
if: github.repository_owner == 'biomejs'
|
||||
steps:
|
||||
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5
|
||||
|
|
|
|||
2
.github/workflows/needs-repro.yml
vendored
2
.github/workflows/needs-repro.yml
vendored
|
|
@ -10,7 +10,7 @@ permissions:
|
|||
jobs:
|
||||
reply-labeled:
|
||||
if: github.repository == 'biomejs/biome'
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-small
|
||||
steps:
|
||||
- name: Remove triaging label
|
||||
if: contains(github.event.issue.labels.*.name, 'S-Bug-confirmed') && contains(github.event.issue.labels.*.name, 'S-Needs triage')
|
||||
|
|
|
|||
2
.github/workflows/parser_conformance.yml
vendored
2
.github/workflows/parser_conformance.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
permissions:
|
||||
pull-requests: write
|
||||
name: Parser conformance
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
|
||||
steps:
|
||||
- name: Checkout PR Branch
|
||||
|
|
|
|||
6
.github/workflows/preview.yml
vendored
6
.github/workflows/preview.yml
vendored
|
|
@ -8,7 +8,7 @@ on:
|
|||
jobs:
|
||||
version:
|
||||
name: Generate version
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
outputs:
|
||||
version: ${{ env.version }}
|
||||
steps:
|
||||
|
|
@ -117,7 +117,7 @@ jobs:
|
|||
|
||||
build-wasm:
|
||||
name: Build WASM
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
needs: version
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
|
@ -145,7 +145,7 @@ jobs:
|
|||
|
||||
publish:
|
||||
name: Publish
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
needs:
|
||||
- build-binaries
|
||||
- build-wasm
|
||||
|
|
|
|||
2
.github/workflows/pull_request_js.yml
vendored
2
.github/workflows/pull_request_js.yml
vendored
|
|
@ -23,7 +23,7 @@ env:
|
|||
jobs:
|
||||
format-js:
|
||||
name: Check JS Files
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
|
|
|||
2
.github/workflows/pull_request_node.yml
vendored
2
.github/workflows/pull_request_node.yml
vendored
|
|
@ -26,7 +26,7 @@ env:
|
|||
jobs:
|
||||
test-node-api:
|
||||
name: Test Node.js API
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
steps:
|
||||
- name: Checkout PR branch
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
|
|
|||
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
|
@ -15,7 +15,7 @@ permissions:
|
|||
jobs:
|
||||
changesets:
|
||||
name: Release
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
|
||||
# Retrieve version of `@biomejs/biome` and `@biomejs/js-api`
|
||||
version:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
needs: changesets
|
||||
if: needs.changesets.outputs.hasChangesets == 'false' && github.head_ref == 'changeset-release/main'
|
||||
outputs:
|
||||
|
|
@ -174,7 +174,7 @@ jobs:
|
|||
|
||||
build-wasm:
|
||||
name: Build WASM
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
needs: version
|
||||
if: needs.cli-version-changed.outputs.changed == 'true'
|
||||
steps:
|
||||
|
|
@ -203,7 +203,7 @@ jobs:
|
|||
|
||||
build-js-api:
|
||||
name: Package JavaScript APIs
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
needs: version
|
||||
if: needs.js-api-version-changed.outputs.changed == 'true'
|
||||
steps:
|
||||
|
|
@ -252,7 +252,7 @@ jobs:
|
|||
|
||||
publish-cli:
|
||||
name: Publish
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
needs:
|
||||
- build-binaries
|
||||
- build-wasm
|
||||
|
|
@ -296,7 +296,7 @@ jobs:
|
|||
|
||||
publish-js-api:
|
||||
name: Publish
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
needs: build-js-api
|
||||
environment: npm-publish
|
||||
permissions:
|
||||
|
|
|
|||
6
.github/workflows/release_cli.yml
vendored
6
.github/workflows/release_cli.yml
vendored
|
|
@ -6,7 +6,7 @@ on:
|
|||
jobs:
|
||||
check:
|
||||
name: Check version
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
outputs:
|
||||
version: ${{ env.version }}
|
||||
steps:
|
||||
|
|
@ -142,7 +142,7 @@ jobs:
|
|||
|
||||
build-wasm:
|
||||
name: Build WASM
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
needs: check
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
|
@ -170,7 +170,7 @@ jobs:
|
|||
|
||||
publish:
|
||||
name: Publish
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
needs:
|
||||
- build
|
||||
- build-wasm
|
||||
|
|
|
|||
6
.github/workflows/release_js_api.yml
vendored
6
.github/workflows/release_js_api.yml
vendored
|
|
@ -6,7 +6,7 @@ on:
|
|||
jobs:
|
||||
check:
|
||||
name: Check version
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
outputs:
|
||||
version: ${{ env.version }}
|
||||
prerelease: ${{ env.prerelease }}
|
||||
|
|
@ -42,7 +42,7 @@ jobs:
|
|||
|
||||
build:
|
||||
name: Package JavaScript APIs
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
|
||||
needs: check
|
||||
if: needs.check.outputs.version_changed == 'true' || needs.check.outputs.nightly == 'true'
|
||||
|
|
@ -105,7 +105,7 @@ jobs:
|
|||
|
||||
publish:
|
||||
name: Publish
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
needs: build
|
||||
environment: npm-publish
|
||||
permissions:
|
||||
|
|
|
|||
4
.github/workflows/repository_dispatch.yml
vendored
4
.github/workflows/repository_dispatch.yml
vendored
|
|
@ -21,7 +21,7 @@ concurrency:
|
|||
jobs:
|
||||
build-wasm:
|
||||
name: Build @biomejs/wasm-web
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
|
@ -82,7 +82,7 @@ jobs:
|
|||
repository-dispatch:
|
||||
name: Repository dispatch
|
||||
needs: build-wasm
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: depot-ubuntu-24.04-arm-16
|
||||
steps:
|
||||
- name: Dispatch event on push
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue