Skip to content

Commit

Permalink
try bun docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonkaliski committed Jan 24, 2024
1 parent 128d5f1 commit 0924a4c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
npm install -g bun &&
bun run build --target x86_64-unknown-linux-gnu &&
strip *.node
name: stable - ${{ matrix.settings.target }} - node@18
name: stable - ${{ matrix.settings.target }} - node@20
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v4
Expand All @@ -47,7 +47,7 @@ jobs:
uses: actions/setup-node@v4
if: ${{ !matrix.settings.docker }}
with:
node-version: 18
node-version: 20
- name: Install
uses: dtolnay/rust-toolchain@stable
if: ${{ !matrix.settings.docker }}
Expand Down Expand Up @@ -102,7 +102,6 @@ jobs:
- host: macos-latest
target: x86_64-apple-darwin
node:
- '18'
- '20'
runs-on: ${{ matrix.settings.host }}
steps:
Expand Down Expand Up @@ -132,7 +131,6 @@ jobs:
fail-fast: false
matrix:
node:
- '18'
- '20'
runs-on: ubuntu-latest
steps:
Expand All @@ -153,7 +151,7 @@ jobs:
run: ls -R .
shell: bash
- name: Test bindings
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim bun test
run: docker run --rm -v $(pwd):/build -w /build oven/bun:1 bun test
publish:
name: Publish
runs-on: ubuntu-latest
Expand All @@ -166,7 +164,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- name: Install dependencies
run: bun install
- name: Download all artifacts
Expand Down

0 comments on commit 0924a4c

Please sign in to comment.