mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
More test cases
This commit is contained in:
parent
17cbd0dd4d
commit
c9c56206c0
1 changed files with 8 additions and 2 deletions
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
@ -11,7 +11,7 @@ permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
setup-bun:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -25,8 +25,14 @@ jobs:
|
||||||
bun-version:
|
bun-version:
|
||||||
- latest
|
- latest
|
||||||
- canary
|
- canary
|
||||||
|
- "0.8.1" # last version before 1.0
|
||||||
|
- "0.x"
|
||||||
- "1.0.0"
|
- "1.0.0"
|
||||||
- "1.x"
|
- "1.x"
|
||||||
|
- "1"
|
||||||
|
- "> 1.0.0"
|
||||||
|
- "< 2"
|
||||||
|
- "822a00c4d508b54f650933a73ca5f4a3af9a7983" # 1.0.0 commit
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -52,6 +58,6 @@ jobs:
|
||||||
echo "$(jq '. += {"packageManager": "bun@1.0.0"}' package.json)" > package.json
|
echo "$(jq '. += {"packageManager": "bun@1.0.0"}' package.json)" > package.json
|
||||||
- name: Setup Bun
|
- name: Setup Bun
|
||||||
uses: ./
|
uses: ./
|
||||||
- name: Verify Bun
|
- name: Run Bun
|
||||||
run: |
|
run: |
|
||||||
bun --version
|
bun --version
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue