Skip to content

⬆️ deps: Update dependencies (non-major) #360

⬆️ deps: Update dependencies (non-major)

⬆️ deps: Update dependencies (non-major) #360

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install pnpm
run: npm install -g pnpm
- name: Cache dependencies
uses: actions/cache@v3
id: pnpm-cache
with:
path: |
~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: Build VitePress site
run: pnpm docs:build
- name: Test using vitest
run: pnpm test