Skip to content

Commit

Permalink
ci: use bun
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarneo committed Sep 19, 2023
1 parent 1d462af commit cd529e4
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,12 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
- name: Install bun
uses: oven-sh/setup-bun@v1
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
bun-version: latest
- run: npm ci
- run: npm run build --if-present
- run: npm test

0 comments on commit cd529e4

Please sign in to comment.