-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (36 loc) · 940 Bytes
/
ci.yml
File metadata and controls
46 lines (36 loc) · 940 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
37
38
39
40
41
42
43
44
45
46
name: TSMorpher-CI
on:
push:
branches: [master, main]
pull_request:
types: [assigned, opened, synchronize, reopened]
jobs:
build:
name: Build
strategy:
matrix:
node-version: [14.x, 16.x]
os: [ubuntu-latest, macOS-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@master
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: |
yarn
yarn workspaces info
- name: Bootstrap
run: |
# npx lerna exec -- yarn
# lerna link
- name: Build Project
run: yarn build
- name: Unit Tests
if: runner.os != 'Windows'
run: |
yarn test:ci
bash <(curl -s https://codecov.io/bash)