Skip to content

Define GitHub Action #1

Define GitHub Action

Define GitHub Action #1

name: Lint Telemetry Definitions
on:
push:
branches: [awschristou/telem*]
# push:
# branches: [main, master]
# pull_request:
# branches: [main, master, feature/*]
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Sync Code
uses: actions/checkout@v3
- name: Compile the Validation code
run: |
cd telemetry/validation
npm run build
npm run test
- name: Validate the telemetry definitions
run: |
cd telemetry/validation
npm run validate