chore(deps): update devdependencies (major) #532
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: Quality | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
prettier: | |
name: "Prettier" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".node-version" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run Prettier check | |
run: pnpm prettier-check | |
eslint: | |
name: "ESLint" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".node-version" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Setup examples (these are linted as well) | |
run: scripts/setup-examples.sh | |
- name: Run ESLint | |
run: pnpm run lint | |
types: | |
name: "TypeScript" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".node-version" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Setup examples (these are type-checked as well) | |
run: scripts/setup-examples.sh | |
- name: Run TypeScript type check | |
run: pnpm run type-check | |
publint: | |
name: "publint" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".node-version" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run Publint | |
run: pnpm run publint |