chore(deps): bump ignore from 5.3.1 to 5.3.2 (#103) #315
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@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Set node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install | |
run: pnpm install | |
- name: Lint | |
run: pnpm lint | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Set node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install | |
run: pnpm install | |
- name: Typecheck | |
run: pnpm typecheck | |
test: | |
runs-on: ${{ matrix.os }} | |
env: | |
OPENAI_API_KEY: open-ai-api-key | |
ANTHROPIC_API_KEY: anthropic-api-key | |
strategy: | |
matrix: | |
node: [lts/*] | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Set node ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install | |
run: pnpm install | |
- name: Build | |
run: pnpm build | |
- name: Test | |
run: pnpm test |