Skip to content

Update SDK Proto

Update SDK Proto #1703

name: "TypeScript"
on:
workflow_call:
workflow_dispatch:
pull_request:
paths:
- 'web/**'
- 'proto/**'
- '.github/workflows/build-typescript*'
- '.github/workflows/test-typescript*'
- "devops/**"
push:
branches:
- main
paths:
- 'web/**'
- 'proto/**'
- "devops/**"
jobs:
build_test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
node-version: [ 18 ]
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@v3
- uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v3
name: Setup Node v${{ matrix.node-version }}
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: |
npm ci
npm run test
name: "Build and Test Package: Node v${{ matrix.node-version }}"
env:
TEST_SERVER_ENDPOINT: ${{ secrets.TEST_SERVER_ENDPOINT }}
TEST_SERVER_PORT: ${{ secrets.TEST_SERVER_PORT }}
TEST_SERVER_USE_TLS: ${{ secrets.TEST_SERVER_USE_TLS }}
shell: pwsh