fix: use official Bun setup action in CI workflow (#131)
- Replace manual Bun installation with oven-sh/setup-bun@v2 - Fixes PATH issue where bun wasn't available in subsequent steps - Ensures Bun is properly installed before running TypeScript validator This fixes the issue where the TypeScript validator couldn't run because Bun wasn't in the PATH. The official setup action handles this correctly. Related: Fixes CI for PR #128
This commit is contained in:
parent
54fa50d17a
commit
13e8a27c10
1 changed files with 6 additions and 4 deletions
10
.github/workflows/validate-registry.yml
vendored
10
.github/workflows/validate-registry.yml
vendored
|
|
@ -113,10 +113,12 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y jq
|
sudo apt-get install -y jq
|
||||||
|
|
||||||
# Install Bun for TypeScript validator
|
- name: Install Bun
|
||||||
curl -fsSL https://bun.sh/install | bash
|
if: github.event.inputs.skip_validation != 'true'
|
||||||
echo "$HOME/.bun/bin" >> $GITHUB_PATH
|
uses: oven-sh/setup-bun@v2
|
||||||
|
with:
|
||||||
|
bun-version: latest
|
||||||
|
|
||||||
- name: Make scripts executable
|
- name: Make scripts executable
|
||||||
if: github.event.inputs.skip_validation != 'true'
|
if: github.event.inputs.skip_validation != 'true'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue