Skip to content

Commit

Permalink
chore: Add basic CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
angelmadames committed Feb 14, 2024
1 parent dabbd25 commit eeae5b7
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: 🧪 Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.ref }}'
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 💻 Checkout current code ref
uses: actions/checkout@v4

- name: 🟢 Configure Bun on runner
uses: oven-sh/setup-bun@v1

- name: 📦 Install package dependencies using lockfile
run: bun install --frozen-lockfile

- name: 🔨 Run build
run: |
bun run build
bun run compile
- name: 🌷 Run format, lint & check with Biome
run: |
bun run format
bun run lint
bun run check

0 comments on commit eeae5b7

Please sign in to comment.