Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Reactor cleanup (#191) #508

Reactor cleanup (#191)

Reactor cleanup (#191) #508

Workflow file for this run

name: Run Vitest
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
vitest_run:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Build dependencies
run: pnpm build
- name: Run reactor tests
run: pnpm --prefix packages/reactor exec vitest run