-
Notifications
You must be signed in to change notification settings - Fork 13
51 lines (41 loc) · 1.13 KB
/
check.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: check
on:
push:
branches: [ 'main' ]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches: [ '**' ]
paths-ignore:
- 'README.md'
workflow_dispatch:
jobs:
ts:
concurrency:
group: ts-${{ github.ref }}
cancel-in-progress: true
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.15.0]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Setup DVC
uses: iterative/setup-dvc@v1
- name: Fetch submodules
run: git submodule update --init --recursive
- name: Install dependencies
run: yarn install --production=false
- name: Populate fixtures
run: yarn fetch:fixtures
- name: clean
run: yarn clean
- name: Compile @webb-tools/contracts
run: lerna run compile --scope=@webb-tools/contracts
- name: Build packages
run: lerna run build
- name: ts-check
run: yarn ts-check