-
Notifications
You must be signed in to change notification settings - Fork 1
54 lines (54 loc) · 1.18 KB
/
vitest-matrix.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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