Skip to content

chore(deps): update dependency @antfu/eslint-config to v3 #2166

chore(deps): update dependency @antfu/eslint-config to v3

chore(deps): update dependency @antfu/eslint-config to v3 #2166

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node: [18, 20]
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Set node version to ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
registry-url: https://registry.npmjs.org/
cache: pnpm
- name: Install deps
run: pnpm install
- name: Run build
run: pnpm build
- name: Run test
run: pnpm test
lint:
runs-on: ubuntu-latest
name: "Lint: node-20, ubuntu-latest"
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Set node version to 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install deps
run: pnpm install
- name: Lint
run: pnpm lint