This repository has been archived by the owner on Aug 6, 2024. It is now read-only.
chore: Configure Renovate #155
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@v3 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: pnpm | |
registry-url: https://registry.npmjs.org | |
- run: corepack enable | |
- run: pnpm install | |
- run: pnpm run build | |
- run: pnpm run lint | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: pnpm | |
registry-url: https://registry.npmjs.org | |
- run: corepack enable | |
- run: pnpm install | |
- run: pnpm run check:types | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: pnpm | |
registry-url: https://registry.npmjs.org | |
- run: corepack enable | |
- run: pnpm install | |
- run: pnpm run test |