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 0038954
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/lint-telemetry-definitions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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 install
npm run build
npm run test
- name: Validate the telemetry definitions
run: |
cd telemetry/validation
npm run validate

0 comments on commit 0038954

Please sign in to comment.