chore(deps): update devdependency lint-staged to v15 #2538
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: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: corepack enable | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: "pnpm" | |
- name: Install dependencies 📦 | |
run: pnpm install --frozen-lockfile | |
- name: Lint project 👀 | |
run: pnpm run lint | |
- name: Build project | |
run: pnpm run build | |
- name: Run tests 🧪 | |
run: pnpm run test -- --coverage | |
- name: Coverage | |
uses: codecov/codecov-action@v3 |