mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-20 13:38:28 +02:00
docs: registries
This commit is contained in:
parent
2b1c606e1d
commit
b9c0f542fe
4 changed files with 40 additions and 17 deletions
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -197,7 +197,6 @@ jobs:
|
|||
- name: Install from default registry
|
||||
run: |
|
||||
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"
|
||||
|
@ -208,10 +207,9 @@ jobs:
|
|||
|
||||
- name: Install from @types registry
|
||||
run: |
|
||||
output=$(bun add @types/bun --verbose --force)
|
||||
echo "$output"
|
||||
output=$(bun add @types/bun --verbose --force 2>&1)
|
||||
|
||||
if echo "$output" | grep -q "HTTP/1.1 GET https://registry.yarnpkg.com/@types/bun"; then
|
||||
if echo "$output" | grep -q "HTTP/1.1 GET https://registry.yarnpkg.com/@types%2fbun"; then
|
||||
echo "Successfully installed from @types registry"
|
||||
else
|
||||
echo "Failed to install from @types registry"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue