chore: delete scripts and set release workflow to manual trigger #3
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: Lint | |
on: | |
push: | |
branches: [main] | |
paths: | |
- '**/*.ts' | |
- '**/*.tsx' | |
- '**/*.js' | |
- '**/*.jsx' | |
- '**/*.json' | |
- '.eslintrc.js' | |
- 'tsconfig.json' | |
- '.github/workflows/lint.yml' | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 1.1.30 | |
- name: Install dependencies | |
run: bun install --frozen-lockfile | |
- name: Run ESLint | |
run: bun run lint | |
- name: Check TypeScript | |
run: bun run typecheck |