ci: verify registry usage

This commit is contained in:
Jozef Steinhübl 2025-07-08 22:33:28 +02:00
parent bd97ab10d3
commit 2b1c606e1d
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F

View file

@ -196,9 +196,24 @@ jobs:
- name: Install from default registry - name: Install from default registry
run: | run: |
bun add is-odd --verbose --force output=$(bun add is-odd --verbose --force 2>&1)
echo "$output"
if echo "$output" | grep -q "HTTP/1.1 GET https://registry.npmjs.org/is-odd"; then
echo "Successfully installed from default registry"
else
echo "Failed to install from default registry"
exit 1
fi
- name: Install from @types registry - name: Install from @types registry
id: run_bun
run: | run: |
bun add @types/bun --verbose --force output=$(bun add @types/bun --verbose --force)
echo "$output"
if echo "$output" | grep -q "HTTP/1.1 GET https://registry.yarnpkg.com/@types/bun"; then
echo "Successfully installed from @types registry"
else
echo "Failed to install from @types registry"
exit 1
fi