Skip to content

chore: fix typescript-publish action (#7) #8

chore: fix typescript-publish action (#7)

chore: fix typescript-publish action (#7) #8

name: TypeScript Lint
on:
push:
branches: [ main ]
paths:
- 'typescript/**'
pull_request:
branches: [ main ]
paths:
- 'typescript/**'
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: '9'
- name: Install dependencies
working-directory: typescript
run: pnpm install
- name: Run lint
working-directory: typescript
run: pnpm lint
- name: Type check
working-directory: typescript
run: pnpm tsc --noEmit