Skip to content

Commit

Permalink
github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TateB committed Aug 21, 2024
1 parent 67de4d0 commit b558ae5
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: CI
on: [push]
jobs:
test:
name: Environments + tests
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Use Bun 1.1.22
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.22

- name: Use Node 20
uses: actions/setup-node@v3
with:
node-version: 20

- name: Install Dependencies
run: bun install --frozen-lockfile

- name: Build
run: bun run build

- name: Test
run: bun run test

- name: Test environments
run: bun test:env

build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Use Bun 1.1.22
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.22

- name: Install Dependencies
run: bun install --frozen-lockfile

- name: Build
run: bun run build

0 comments on commit b558ae5

Please sign in to comment.