Skip to content

chore: update to @nuxt/test-utils 3.20 and happy-dom 20.0 (#56) #179

chore: update to @nuxt/test-utils 3.20 and happy-dom 20.0 (#56)

chore: update to @nuxt/test-utils 3.20 and happy-dom 20.0 (#56) #179

Workflow file for this run

name: ci
on:
push:
branches:
- 1.x
pull_request:
branches:
- 1.x
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm i -g --force corepack@latest && corepack enable
- name: Install dependencies
run: npx nypm@latest i
- name: Lint
run: npm run lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm i -g --force corepack@latest && corepack enable
- name: Install dependencies
run: npx nypm@latest i
- name: Install Playwright browsers and dependencies
run: |
npx playwright-core install --with-deps chromium
- name: Playground prepare
run: npm run dev:prepare
- name: Test
run: npm run test