forked from ipfs/js-ipfs
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (41 loc) · 1.18 KB
/
typecheck.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
on:
pull_request:
branches:
- '*'
name: Typecheck
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
project:
- packages/ipfs
- packages/ipfs-cli
- packages/ipfs-client
- packages/ipfs-core
- packages/ipfs-core-types
- packages/ipfs-core-utils
- packages/ipfs-daemon
- packages/ipfs-grpc-client
- packages/ipfs-grpc-server
- packages/ipfs-http-client
- packages/ipfs-http-gateway
- packages/ipfs-http-server
- packages/ipfs-message-port-client
- packages/ipfs-message-port-protocol
- packages/ipfs-message-port-server
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build types
run: npm run build
- name: Typecheck ${{ matrix.project }}
uses: gozala/[email protected]
with:
project: ${{ matrix.project }}