This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
chore(deps): update devdependency eslint to v8.52.0 #137
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: 🚧 Set up project | |
run: pnpm dev:prepare | |
- name: 🧪 Test project | |
run: pnpm test | |
- name: 🛠 Build project | |
run: pnpm build |