Update README.md #126
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: Linters & Tests | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
push: | |
tags: | |
- "*" | |
branches: | |
- develop | |
- staging | |
jobs: | |
job: | |
name: Linters & Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
run_install: false | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run ESLint | |
run: pnpm eslint --ext ".ts,.tsx" . | |
- name: Run Prettier Check | |
run: pnpm prettier --check --config packages/config/src/prettier.config.js . | |
- name: Run tests | |
run: pnpm test |