Skip to content

Commit

Permalink
Merge pull request #15 from SawyerHood/ci
Browse files Browse the repository at this point in the history
Create github actions
  • Loading branch information
SawyerHood authored Aug 5, 2024
2 parents 9582057 + 7a0dc8c commit 560f1f9
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: latest

- name: Install dependencies
run: bun install

- name: Lint
run: bun run lint

- name: Type check
run: npx tsc --noEmit

- name: Test
run: bun run test

- name: Build
run: bun run build

- name: Build iframe
run: bun run build-iframe
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"eslint-config-next": "^15.0.0-rc.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"ts-node": "^10.9.2",
"typescript": "^5"
},
"module": "index.ts",
Expand Down

0 comments on commit 560f1f9

Please sign in to comment.