Skip to content

Commit

Permalink
chore: github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
joseferben committed Oct 4, 2024
1 parent bdbc662 commit 31da6b4
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,16 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
name: checkout code 📥
- name: install pnpm 📦
uses: pnpm/action-setup@v4
- uses: oven-sh/setup-bun@v2
with:
version: 9.5.0
- name: setup node 🟢
uses: actions/setup-node@v4
with:
node-version: "22.9.0"
cache: "pnpm"
bun-version: 1.1.29
- name: install dependencies 🔧
run: pnpm install
- name: run check ✅
run: pnpm check
env:
SMTP_HOST: localhost
SMTP_USER: test
SMTP_PASS: test
CF_TURNSTILE_SECRET: test
CF_TURNSTILE_SITEKEY: test
ADMIN_PASSWORD: test
DB_URL: ":memory:"
run: bun install
- name: build ✅
run: bun run build
- name: test ✅
run: bun test

0 comments on commit 31da6b4

Please sign in to comment.