fix GH action #10
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: "Static Checks" | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- "**" | ||
jobs: | ||
setup: | ||
name: Setup Dependencies | ||
uses: ./.github/actions/setup.yml | ||
lint: | ||
name: ESLint Check | ||
runs-on: ubuntu-latest | ||
needs: setup | ||
steps: | ||
- name: Run Linter | ||
run: npm run lint | ||
tsc: | ||
name: TS Types Check | ||
runs-on: ubuntu-latest | ||
needs: setup | ||
steps: | ||
- name: Run Tsc | ||
run: npm run type-check | ||
build: | ||
name: Build App Check | ||
runs-on: ubuntu-latest | ||
needs: setup | ||
steps: | ||
- name: Build App | ||
run: npm run build |