Skip to content

feat: update the node.js version range #1312

feat: update the node.js version range

feat: update the node.js version range #1312

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
node: [18, 20]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 8.15
- name: Install dependencies
run: pnpm install
- name: Unit tests
run: pnpm test:unit
- name: Build
run: pnpm build
- name: Node.js tests
run: pnpm test:node
- name: Install Playwright browsers
run: npx playwright install
- name: Browser tests
run: pnpm test:browser