Skip to content

built out top navbar #118

built out top navbar

built out top navbar #118

Workflow file for this run

name: Code Lint and Test
on:
push:
branches: ['main', 'staging', 'dev']
pull_request:
branches: ['main', 'staging', 'dev']
jobs:
lint:
name: ⬣ ESLint, ʦ TypeScript, 💅 Prettier, ✅ Cypress
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: ⎔ Setup node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8
with:
node-version: 21
- name: Install pnpm
uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598
with:
version: 8
run_install: true
- name: 🔬 Lint
run: pnpm lint:strict
- name: 🔎 Type check
run: pnpm typecheck
- name: 💅 Prettier check
run: pnpm format:check
- name: ✅ Cypress tests
uses: cypress-io/github-action@1b70233146622b69e789ccdd4f9452adc638d25a
with:
browser: chrome
build: pnpm build
component: true
start: pnpm start
wait-on: 'http://localhost:3000'