chore(deps): update dependency eslint-plugin-prettier to v5.2.1 #1366
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 | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2.4.1 | |
- name: Set node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: "pnpm" | |
- name: Install | |
run: pnpm i | |
- name: Lint | |
run: pnpm run lint | |
- name: Format | |
run: pnpm run format | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [14.x, 16.x, 18.x] | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2.4.1 | |
- name: Set node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node_version }} | |
cache: "pnpm" | |
- name: Install | |
run: pnpm i | |
- name: Lint | |
run: pnpm run build | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [14.x, 16.x, 18.x] | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2.4.1 | |
- name: Set node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node_version }} | |
cache: "pnpm" | |
- name: Install | |
run: pnpm i | |
- name: Test Cases | |
run: pnpm run test | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2.4.1 | |
- name: Set node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: "pnpm" | |
- name: Install | |
run: pnpm i | |
- name: Build | |
run: pnpm run build | |
- name: Typecheck | |
run: pnpm run typecheck |