-
Notifications
You must be signed in to change notification settings - Fork 22
47 lines (45 loc) · 1.06 KB
/
test.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
name: Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-20.04
name: Build examples
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 16
- uses: actions/[email protected]
with:
java-version: 15
architecture: x64
distribution: zulu
- name: Build gradle-ts-protoc-gen
run: |
cd examples/gradle-ts-protoc-gen
npm i
npm run build
- name: Build grpc_tools_node_protoc_ts
run: |
cd examples/grpc_tools_node_protoc_ts
npm i
npm run build
- name: Build grpc-proto-loader
run: |
cd examples/grpc-proto-loader
npm i
npm run build
- name: Build grpc-web
run: |
cd examples/grpc-web
npm i
npm run build
- name: Build ts-protoc-gen
run: |
cd examples/ts-protoc-gen
npm i
npm run build