build(deps): update linters to v8 (major) #55
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: "CI" | |
on: | |
push: | |
branches: | |
- "main" | |
- "feat**" | |
- "fix**" | |
tags-ignore: | |
- "**" | |
pull_request: | |
jobs: | |
lint: | |
name: "Lint" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout the repository" | |
uses: actions/[email protected] | |
- name: "Setup pnpm" | |
uses: pnpm/[email protected] | |
- name: "Setup node" | |
uses: actions/[email protected] | |
with: | |
node-version-file: package.json | |
cache: "pnpm" | |
- name: "Install dependencies" | |
run: pnpm install | |
- name: "Run Lint" | |
run: pnpm run lint | |
- name: "Check format" | |
run: pnpm run format:check | |
build: | |
name: "Build & Test" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout the repository" | |
uses: actions/[email protected] | |
- name: "Setup pnpm" | |
uses: pnpm/[email protected] | |
- name: "Setup node" | |
uses: actions/[email protected] | |
with: | |
node-version-file: package.json | |
cache: "pnpm" | |
- name: "Install dependencies" | |
run: pnpm install | |
- name: "Typecheck" | |
run: pnpm run typecheck | |
- name: "Run Build" | |
run: pnpm run build |