Add test framework, unit tests, and CI validation workflow #3
@@ -8,16 +8,11 @@ on:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: bun
|
||||
|
jdb marked this conversation as resolved
Outdated
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Bun
|
||||
run: curl -fsSL https://bun.sh/install | bash
|
||||
- name: Add Bun to PATH
|
||||
run: echo "$HOME/.bun/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Install dependencies
|
||||
|
jdb marked this conversation as resolved
jdb
commented
If we switch to the If we switch to the `bun` runner as I asked in my previous review comment, we will not need to install bun. It comes packaged in that runner.
|
||||
run: bun install
|
||||
|
||||
|
||||
Reference in New Issue
Block a user
Can we use the
bunrunner? It is more lightweight thanubuntu-latestand should have everything we need.bunmaps to thedocker://oven/bun:latestimage.