wip #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bun Pipeline | |
on: | |
push: | |
pull_request: | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 1.1.42 | |
- name: Install Dependencies | |
run: bun install --frozen-lockfile | |
check-all: | |
needs: setup | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 1.1.42 | |
- name: Run Formatting, Linting, and Type Checking | |
run: bun run check-all | |
playwright-tests: | |
needs: setup | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 1.1.42 | |
- name: Install Playwright Browsers | |
run: bunx playwright install --with-deps | |
- name: Run Playwright Tests | |
run: bun run test:e2e | |
unit-tests: | |
needs: setup | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 1.1.42 | |
- name: Run Unit Tests | |
run: bun test |