chore(deps): update devdependency eslint to v8.50.0 #1168
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: | |
lint: | |
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 lint | |
test: | |
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: 🛠 Build project | |
run: pnpm build | |
- name: 💪 Test types | |
run: pnpm test:types | |
- name: 🧪 Test project | |
run: pnpm test -- --coverage | |
- name: 🟩 Coverage | |
uses: codecov/codecov-action@v3 |