fix ts and add tsc to ci #199
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: ESLint, Prettier, build CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install modules | |
run: yarn | |
- name: run prettier and eslint | |
run: yarn lint | |
- name: run check | |
run: yarn check | |
- name: compile ts | |
run: yarn tsc | |
- name: create .env | |
run: cp .env.example .env | |
- name: build app | |
run: yarn build |