Skip to content

Update vitest monorepo to v1 (major) - autoclosed #2443

Update vitest monorepo to v1 (major) - autoclosed

Update vitest monorepo to v1 (major) - autoclosed #2443

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
CI:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: "16"
- name: Setup pnpm
run: |-
corepack enable
pnpm --version
- name: Get pnpm store directory
id: pnpm-cache
run: echo "pnpm_cache_dir=$(pnpm store path)" >>$GITHUB_OUTPUT
- name: Cache pnpm modules
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.OS }}-pnpm-current-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.OS }}-pnpm-current
- name: Install packages
run: pnpm install
- name: Build
run: pnpm run build
- name: Type check
run: pnpm run check
- name: Lint
run: pnpm run lint
- name: Test
run: pnpm test