Running necessary checks π #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: GitHub Actions | |
run-name: Running necessary checks π | |
on: [push] | |
jobs: | |
Code-Checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- run: echo "π‘ The ${{ github.repository }} repository has been cloned to the runner." | |
- name: π Installing dependencies | |
run: yarn | |
- name: π·οΈ running typecheck | |
run: yarn build | |
- name: π§ͺ Running tests | |
run: yarn test | |
- name: π¨ Linting code | |
run: yarn lint | |
- name: π¨ prettier check code | |
run: yarn format:check |