Skip to content

build(deps-dev): bump @commitlint/cli from 21.2.0 to 21.2.1 in the commitlint group across 1 directory #1461

build(deps-dev): bump @commitlint/cli from 21.2.0 to 21.2.1 in the commitlint group across 1 directory

build(deps-dev): bump @commitlint/cli from 21.2.0 to 21.2.1 in the commitlint group across 1 directory #1461

name: Integration Tests
permissions:
contents: read
on:
pull_request:
merge_group:
push:
branches:
- main
- beta
workflow_dispatch:
jobs:
vitest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [20, 22, 24]
package-manager: [npm, pnpm]
steps:
- name: Check out
uses: actions/checkout@v7
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Set up pnpm
if: matrix.package-manager == 'pnpm'
uses: pnpm/action-setup@v6
with:
version: 10
- name: Install dependencies
run: npm ci
- name: Install create-next-app globally (npm)
if: matrix.package-manager == 'npm'
run: npx -y create-next-app@latest --version
- name: Install create-next-app globally (pnpm)
if: matrix.package-manager == 'pnpm'
run: pnpm dlx create-next-app@latest --version
- name: Run Vitest integration tests
run: npm test
env:
NODE_VERSION: ${{ matrix.node-version }}
PACKAGE_MANAGER: ${{ matrix.package-manager }}