generated from element-hq/.github
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 915 Bytes
/
tests.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
name: Tests
on:
pull_request: {}
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
permissions: {}
jobs:
vitest:
name: Vitest
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: "lts/*"
- name: Install Deps
run: "yarn install --frozen-lockfile"
- name: Run tests
run: yarn test --coverage
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: coverage
path: |
**/coverage
!**/coverage/lcov-report
!**/node_modules/**