Skip to content

feat(CI): add GitHub Actions workflow for Bun tests #2

feat(CI): add GitHub Actions workflow for Bun tests

feat(CI): add GitHub Actions workflow for Bun tests #2

Workflow file for this run

name: Bun CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install Dependencies (Server)
working-directory: ./server
run: bun install
env:
ENCRYPTION_KEY: ${{ secrets.ENCRYPTION_KEY }}
SERVICE_ACCOUNT_ENCRYPTION_KEY: ${{ secrets.SERVICE_ACCOUNT_ENCRYPTION_KEY }}
- name: Run tests
run: bun test