Skip to content

feat: add Vercel Analytics, optimize dependencies and CI/CD #19

feat: add Vercel Analytics, optimize dependencies and CI/CD

feat: add Vercel Analytics, optimize dependencies and CI/CD #19

Workflow file for this run

name: Test & Lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run lint
run: pnpm lint
- name: Run build
run: pnpm build