forked from bosagora/dms-sdk
-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (29 loc) · 961 Bytes
/
main.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
name: CI
on: [push, pull_request ]
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system: [ubuntu-latest]
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Install node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --pure-lockfile
- name: Build of common
run: cd packages/common && yarn run build
# - name: Run Tests of common
# run: cd packages/common && yarn run test
- name: Copy env of Client
run: cp packages/client/env/.env.sample packages/client/env/.env
- name: Build of Client
run: cd packages/client && yarn run build
# - name: Run Tests of Client
# run: cd packages/client && yarn run test