Skip to content

VitestMatrix

VitestMatrix #101

Workflow file for this run

name: VitestMatrix
"on":
push:
branches:
- vitest-matrix/**
schedule:
- cron: 30 5 * * 1,3
jobs:
test-v18:
name: Run tests
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
dummy1:
- 1
- 2
- 3
- 4
- 5
- 6
dummy2:
- 1
- 2
- 3
- 4
- 5
- 6
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
- uses: actions/setup-node@v4
with:
node-version: "18"
- name: Cache node modules and firebase emulators
uses: actions/cache@v4
with:
path: |
~/.rush
~/.pnpm-store
common/temp
**/node_modules
~/.cache/firebase/emulators
key: ${{ runner.os }}-modules-emulators-node18-v2-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Add rush directory to PATH
run: echo PATH=$PWD/common/scripts/:$PATH >> $GITHUB_ENV
- name: Install dependencies
run: rush update
- name: Build eisbuk packages
run: rush build
- name: Run tests
run: cd packages/client && rushx test:emulators:ci