Skip to content

Add linting (#7)

Add linting (#7) #20

name: Validate
on: push
jobs:
build-and-test:
name: 🔨 Build & Test
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@main
- name: Set up pnpm
uses: pnpm/action-setup@v2
- name: Set up Node.js
uses: actions/setup-node@main
with:
node-version-file: '.nvmrc'
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Lint
run: pnpm lint
- name: Run tests
run: pnpm test