Feature/NS-25-add-github-actions #23
Workflow file for this run
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: Code check | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: Eslint, Typescript, prettier and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: npm install | |
- name: ESLint | |
run: npm run lint | |
- name: Type check | |
run: npm run typecheck | |
- name: Prettier | |
run: npm run format:check | |
- name: Tests | |
run: npm run test |