Skip to content

v4.1.0

v4.1.0 #5

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm v9
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install Node.js v20
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Run Lint Test (Flat Config)
run: pnpm lint:strict
format:
needs: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm v9
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install Node.js v20
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Check Formatting
run: pnpm format:check
lint-legacy:
needs: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm v9
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install Node.js v20
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Run Lint Test (Legacy Config)
run: pnpm lint:legacy:strict