Skip to content

chore: Upgrade eslint-config-prettier to v9 #1383

chore: Upgrade eslint-config-prettier to v9

chore: Upgrade eslint-config-prettier to v9 #1383

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [16.x, 18.x, 20.x]
steps:
- uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: 8
- name: Use Node.js ${{ matrix.node }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- uses: actions/[email protected]
with:
path: |
node_modules
key: node-${{ matrix.node }}-${{ hashFiles('package.json', 'pnpm-lock.yaml') }}
restore-keys: |
node-${{ matrix.node }}-
- run: node -v
- run: pnpm install --frozen-lockfile
- run: pnpm test:build
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: volta-cli/[email protected]
- uses: pnpm/[email protected]
with:
version: 8
- uses: actions/[email protected]
with:
path: |
node_modules
key: deps-${{ hashFiles('package.json', 'pnpm-lock.yaml') }}
restore-keys: |
deps-
- run: pnpm install --frozen-lockfile
- run: pnpm lint && pnpm pretty:ci
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: volta-cli/[email protected]
- uses: pnpm/[email protected]
with:
version: 8
- uses: actions/[email protected]
with:
path: |
node_modules
key: deps-${{ hashFiles('package.json', 'pnpm-lock.yaml') }}
restore-keys: |
deps-
- run: pnpm install --frozen-lockfile
- run: pnpm test
types:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: volta-cli/[email protected]
- uses: pnpm/[email protected]
with:
version: 8
- uses: actions/[email protected]
with:
path: |
node_modules
key: deps-${{ hashFiles('package.json', 'pnpm-lock.yaml') }}
restore-keys: |
deps-
- run: pnpm install --frozen-lockfile
- run: pnpm test:types