Skip to content

Commit

Permalink
Define GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
awschristou committed Feb 29, 2024
1 parent 60a6008 commit 0cd0857
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/lint-telemetry-definitions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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

0 comments on commit 0cd0857

Please sign in to comment.