Skip to content

chore(deps): lock file maintenance #220

chore(deps): lock file maintenance

chore(deps): lock file maintenance #220

Workflow file for this run

name: ci
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: 📦 Install dependencies
run: pnpm install
- name: 🔠 Lint project
run: pnpm lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: 📦 Install dependencies
run: pnpm install
- name: 💪 Type check
run: pnpm test:types
- name: 🧪 Unit test
run: pnpm test:unit
# - name: 🏃 Component tests
# run: pnpm test:nuxt
# browser:
# runs-on: ubuntu-latest
# container:
# image: mcr.microsoft.com/playwright:v1.49.1-noble
# steps:
# - uses: actions/checkout@v4
# - run: corepack enable
# - uses: actions/setup-node@v4
# with:
# node-version: 20
# cache: pnpm
# - name: 📦 Install dependencies
# run: pnpm install
# - name: 🖥️ Test project (browser)
# run: pnpm test:browser