chore(deps): update actions/checkout action to v4 #333
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: CI | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- 'main' | |
jobs: | |
run-ci: | |
name: Run Type Check & Linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install dependencies (with cache) | |
uses: bahmutov/npm-install@v1 | |
- name: Run ESLint | |
run: yarn lint | |
- name: Run Prettier check | |
run: yarn format | |
- name: Run TypeScript type check | |
run: yarn check-types | |
- name: Run unit tests | |
run: yarn test | |
- name: Run build | |
run: yarn build |