chore(deps): lock file maintenance #1476
Workflow file for this run
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- run: corepack enable | |
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: 22 | |
cache: pnpm | |
- name: π¦ Install dependencies | |
run: pnpm install | |
- run: pnpm dev:prepare | |
- name: π Lint project | |
run: pnpm lint | |
- name: βοΈ Knip project | |
run: pnpm test:knip | |
- name: βοΈ Check package engines | |
run: pnpm test:engines | |
- name: πͺ Check published types | |
run: pnpm test:attw | |
- name: π¦ Check `package.json` | |
run: pnpm test:publint | |
ci: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- run: corepack enable | |
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- name: π¦ Install dependencies | |
run: pnpm install | |
- run: pnpm dev:prepare | |
- name: π§ͺ Test project | |
run: pnpm test | |
- name: π Build project | |
run: pnpm build | |
- name: π Build project (example) | |
run: pnpm example:build | |
- name: πͺ Type check | |
run: pnpm test:types |