build(deps): update actions/checkout action to v4 #130
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: "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/checkout@v4 | |
- name: "Setup pnpm" | |
uses: pnpm/action-setup@v2 | |
- name: "Setup node" | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: package.json | |
cache: ${{ !env.ACT && '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/checkout@v4 | |
- name: "Setup pnpm" | |
uses: pnpm/action-setup@v2 | |
- name: "Setup node" | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: package.json | |
cache: ${{ !env.ACT && 'pnpm' || '' }} | |
- name: "Install dependencies" | |
run: pnpm install | |
- name: "Typecheck" | |
run: pnpm run typecheck | |
- name: "Run Build" | |
run: pnpm run build |