mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-23 02:30:26 +08:00
chore(test): update
This commit is contained in:
parent
bf40fde936
commit
a9318b00d5
26
.github/workflows/test.yml
vendored
26
.github/workflows/test.yml
vendored
@ -14,7 +14,30 @@ jobs:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
bun-version:
|
||||
["latest", "0.1.4", "canary"]
|
||||
["latest", "0.1.4"]
|
||||
misc-test-builds:
|
||||
[false]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Bun - Test Builds * ${{ matrix.misc-test-builds }}
|
||||
uses: ./
|
||||
with:
|
||||
bun-version: ${{ matrix.bun-version }}
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
misc-test-builds: ${{ matrix.misc-test-builds }}
|
||||
|
||||
- name: Try bun
|
||||
run: |
|
||||
bun --version
|
||||
test-canary:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
bun-version:
|
||||
["canary"]
|
||||
misc-test-builds:
|
||||
[false]
|
||||
|
||||
@ -23,7 +46,6 @@ jobs:
|
||||
|
||||
- name: Setup Bun - Test Builds * ${{ matrix.misc-test-builds }}
|
||||
uses: ./
|
||||
if: (${{ matrix.os }} == 'macos-latest' && ${{ matrix.bun-version }} != "canary") || ${{ matrix.os }} == 'ubuntu-latest'
|
||||
with:
|
||||
bun-version: ${{ matrix.bun-version }}
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user