-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (30 loc) · 994 Bytes
/
ci.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: Build
on:
push:
paths-ignore:
- '**.md'
jobs:
build:
name: build
runs-on: ubuntu-18.04
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Install pnpm
run: sudo npm install --global pnpm
- name: Cache dependencies
uses: actions/cache@v1
id: cache-pnpm-store
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm recursive install
- name: Build project
run: pnpm recursive run build
- name: Run tests
run: pnpm recursive test --workspace-concurrency 1
#- name: Upload coverage
#uses: codecov/codecov-action@v1