-
-
Notifications
You must be signed in to change notification settings - Fork 75
35 lines (33 loc) · 876 Bytes
/
test.yaml
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
name: Test
on:
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- master
paths-ignore:
- '**.md'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node_version: [14.x, 16.x]
protoc_version: [3.x]
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/setup-node@v2
with:
node-version: ${{matrix.node_version}}
- uses: arduino/setup-protoc@v1
with:
version: ${{matrix.protoc_version}}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: yarn --frozen-lockfile
- run: yarn codegen
- run: yarn test --test_tag_filters=-no-${{ matrix.os }}
- run: cd examples/pure && yarn --frozen-lockfile && yarn test