Skip to content

Update Linting (major) #1225

Update Linting (major)

Update Linting (major) #1225

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: CI
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: corepack enable
- uses: actions/cache@v4
with:
path: ~/.pnpm-store
key: v1-${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
v1-${{ runner.os }}-pnpm-
- name: Install dependencies
run: pnpm i --frozen-lockfile
- run: pnpm lint
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: corepack enable
- uses: actions/cache@v4
with:
path: ~/.pnpm-store
key: v1-${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
v1-${{ runner.os }}-pnpm-
- name: Install dependencies
run: pnpm i --frozen-lockfile
- run: pnpm typecheck
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: corepack enable
- uses: actions/cache@v4
with:
path: ~/.pnpm-store
key: v1-${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
v1-${{ runner.os }}-pnpm-
- uses: actions/cache@v4
with:
path: ~/.pkg-cache
key: v1-${{ runner.os }}-pkg-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
v1-${{ runner.os }}-pkg-
- name: Install dependencies
run: pnpm i --frozen-lockfile
- run: pnpm build