Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
chore: add Bun CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusbegby committed Sep 7, 2023
1 parent 00aaece commit 15b0a54
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/bun.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Bun CI

on:
pull_request:
branches: ['main']

jobs:
build:
name: Bun ${{ matrix.bun-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
bun-version: [latest, canary]
os: ['ubuntu-latest']

steps:
- uses: actions/checkout@v3
- name: Bun ${{ matrix.bun-version }}
uses: oven-sh/setup-bun@v1
with:
bun-version: ${{ matrix.bun-version }}
- run: bun install
- run: bun run eslint
- run: bun run build
5 changes: 0 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

on:
Expand All @@ -16,7 +13,6 @@ jobs:
matrix:
node-version: [18.x]
os: ['ubuntu-latest']
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
Expand All @@ -25,7 +21,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install -g npm@latest
- run: npm ci
- run: npm run eslint
- run: npm run build

0 comments on commit 15b0a54

Please # to comment.