Skip to content

Commit d11db6b

Browse files
add github actions for bun
1 parent ea61ec5 commit d11db6b

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

.github/workflows/ci-bun-loaders.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Continuous Integration - Bun (Loaders)
2+
3+
on: [pull_request]
4+
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Clone repository
12+
uses: actions/checkout@v3
13+
14+
- name: Install Bun
15+
uses: oven-sh/setup-bun@v2
16+
17+
# still using Yarn since we specifically rely on Yarn workspaces
18+
- name: Install Dependencies
19+
run: yarn install --frozen-lockfile && yarn lerna bootstrap
20+
21+
- name: Test
22+
run: bun run test:loaders
23+
24+
- name: Build
25+
run: bun run build

.github/workflows/ci-bun.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Continous Integration - Bun
2+
on:
3+
pull_request:
4+
branches: master
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Clone repository
12+
uses: actions/checkout@v3
13+
14+
- name: Install Bun
15+
uses: oven-sh/setup-bun@v2
16+
17+
# still using Yarn since we specifically rely on Yarn workspaces
18+
- name: Install Dependencies
19+
run: yarn install --frozen-lockfile && yarn lerna bootstrap
20+
21+
- name: Test
22+
run: bun run test
23+
24+
- name: Build
25+
run: bun run build

0 commit comments

Comments
 (0)