-
-
Notifications
You must be signed in to change notification settings - Fork 43
36 lines (29 loc) · 647 Bytes
/
ci.yml
File metadata and controls
36 lines (29 loc) · 647 Bytes
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
name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node: [14]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v3
id: cache
with:
path: "node_modules"
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn
- name: Run tests
run: yarn test
- name: Coverage
uses: codecov/codecov-action@v2