chore(deps): update devdependency @nuxt/test-utils to v3.13.1 #1812
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: 🚧 Set up project | |
run: pnpm dev:prepare | |
- name: 🔠 Lint project | |
run: pnpm run 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: 🎭 Set up playwright | |
run: pnpm playwright install | |
- name: 🧪 Test project | |
run: pnpm test -- --coverage | |
- name: 💪 Test types | |
run: pnpm test:types | |
- name: 🛠 Build project | |
run: pnpm build | |
- name: 🟩 Coverage | |
uses: codecov/codecov-action@v3 |