Skip to content

Add zinc carnosine (meal 1) and ashwagandha KSM-66 (before bed) to stack #205

Add zinc carnosine (meal 1) and ashwagandha KSM-66 (before bed) to stack

Add zinc carnosine (meal 1) and ashwagandha KSM-66 (before bed) to stack #205

Workflow file for this run

name: CI
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
jobs:
build:
name: Build & Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build
run: bun run build
- name: Check TypeScript
run: bun run astro check
env:
NODE_OPTIONS: "--max-old-space-size=8192"
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build (for social cards test)
run: bun run build
- name: Start dev server
run: bun run dev &
- name: Wait for server
run: bunx wait-on http://localhost:4321 --timeout 60000
- name: Run tests
run: bun run test