mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
ci: containerized job test
This commit is contained in:
parent
932c3b236c
commit
b999e4d139
1 changed files with 22 additions and 0 deletions
22
.github/workflows/test.yml
vendored
22
.github/workflows/test.yml
vendored
|
@ -123,3 +123,25 @@ jobs:
|
||||||
echo "Expected version to be 1.1.0, got ${{ steps.bun.outputs.version }}"
|
echo "Expected version to be 1.1.0, got ${{ steps.bun.outputs.version }}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
setup-bun-in-container:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: ${{ matrix.container }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
container:
|
||||||
|
- mcr.microsoft.com/playwright:v1.42.1-jammy
|
||||||
|
bun-version:
|
||||||
|
- latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Bun
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
bun-version: ${{ matrix.bun-version }}
|
||||||
|
|
||||||
|
- name: Run Bun
|
||||||
|
run: |
|
||||||
|
bun --version
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue