mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
ci: jsr registry test
This commit is contained in:
parent
95fe79d023
commit
e8a5565c78
3 changed files with 42 additions and 7 deletions
33
.github/workflows/test.yml
vendored
33
.github/workflows/test.yml
vendored
|
@ -169,3 +169,36 @@ jobs:
|
|||
id: run_bun
|
||||
run: |
|
||||
bun --version
|
||||
|
||||
setup-bun-jsr-registry:
|
||||
name: setup-bun jsr registry (${{ matrix.os }})
|
||||
runs-on: ${{ matrix.os }}
|
||||
continue-on-error: true
|
||||
needs: [remove-cache, tests]
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macos-latest
|
||||
- windows-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Bun
|
||||
uses: ./
|
||||
id: setup_bun
|
||||
with:
|
||||
registries: |
|
||||
[
|
||||
{
|
||||
"url": "https://npm.jsr.io"
|
||||
"scope": "@jsr"
|
||||
}
|
||||
]
|
||||
|
||||
- name: Run Bun
|
||||
id: run_bun
|
||||
run: |
|
||||
bun add @luca/runtime-detector
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue