-
Notifications
You must be signed in to change notification settings - Fork 18
33 lines (31 loc) · 936 Bytes
/
vitest.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
name: "Tests: vitest"
on:
push:
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
schedule:
- cron: "45 15 * * 4"
jobs:
setup:
name: Running Pinia Tests 🚀
strategy:
matrix:
node-version: [21.3.0]
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Yarn/ Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: Install Dependencies
run: yarn install --immutable
# Run the tests!
- name: Run Vitest 🚀
run: yarn run test:pinia