mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 11:48:38 +00:00
ci: avoid bun setup API flake in node checks
This commit is contained in:
2
.github/actions/setup-node-env/action.yml
vendored
2
.github/actions/setup-node-env/action.yml
vendored
@@ -52,7 +52,7 @@ runs:
|
|||||||
if: inputs.install-bun == 'true'
|
if: inputs.install-bun == 'true'
|
||||||
uses: oven-sh/setup-bun@v2
|
uses: oven-sh/setup-bun@v2
|
||||||
with:
|
with:
|
||||||
bun-version: "1.3.9"
|
bun-version: "1.3.9+cf6cdbbba"
|
||||||
|
|
||||||
- name: Runtime versions
|
- name: Runtime versions
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -199,6 +199,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup Node environment
|
- name: Setup Node environment
|
||||||
uses: ./.github/actions/setup-node-env
|
uses: ./.github/actions/setup-node-env
|
||||||
|
with:
|
||||||
|
install-bun: "${{ matrix.runtime == 'bun' }}"
|
||||||
|
|
||||||
- name: Configure vitest JSON reports
|
- name: Configure vitest JSON reports
|
||||||
if: matrix.task == 'test' && matrix.runtime == 'node'
|
if: matrix.task == 'test' && matrix.runtime == 'node'
|
||||||
|
|||||||
Reference in New Issue
Block a user