Skip to content

Commit 961c03c

Browse files
authored
Merge pull request #19 from arthurfiorette/main
Add github action to run bun test
2 parents 5dee143 + 9cd58b0 commit 961c03c

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: 'npm'
4+
directory: './'
5+
schedule:
6+
interval: 'daily'
7+
8+
- package-ecosystem: 'github-actions'
9+
directory: './'
10+
schedule:
11+
interval: 'daily'
12+

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Code CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
name: Build and test code
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
16+
- name: Setup bun
17+
uses: oven-sh/setup-bun@v1
18+
with:
19+
bun-version: latest
20+
21+
- name: Install packages
22+
run: bun install
23+
24+
- name: Build code
25+
run: bun run build
26+
27+
- name: Test
28+
run: bun run test

0 commit comments

Comments
 (0)