ci: jsr registry test

This commit is contained in:
Jozef Steinhübl 2024-12-08 19:11:17 +01:00
parent 95fe79d023
commit e8a5565c78
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F
3 changed files with 42 additions and 7 deletions

View file

@ -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