Ignore unknown fields (#108) #250
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: Typescript CI | |
on: | |
workflow_call: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: Lint and check formatting | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: npm | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run eslint | |
run: pnpm lint | |
- name: Check formatting | |
run: pnpm format-check | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: npm | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build | |
run: pnpm build | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: npm | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- uses: buildjet/setup-node@v4 | |
with: | |
node-version: '22' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build | |
run: pnpm test |