Skip to content

Commit

Permalink
add bun to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chearon committed Sep 24, 2023
1 parent c92d9bc commit 20b5c3a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 18 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build and test
on: push
jobs:
node:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: oven-sh/setup-bun@v1
- name: Node.js v20
uses: actions/setup-node@v1
with:
node-version: 20
- run: bun install --frozen-lockfile
- run: npm run build
- run: npm run test
bun:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Bun v1
uses: oven-sh/setup-bun@v1
with:
node-version: 1
- run: bun install --frozen-lockfile
- run: bun run build
- run: bun run test
18 changes: 0 additions & 18 deletions .github/workflows/node.js.yml

This file was deleted.

0 comments on commit 20b5c3a

Please sign in to comment.