Skip to content

Commit

Permalink
add validate script
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnya97 committed Apr 17, 2024
1 parent 9ea3d52 commit 11ae6ec
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/validate-apps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
pull_request:
branches:
- main
name: Pull request workflow
jobs:
validate_earn_strategies:
name: Validate App Store
runs-on: ubuntu-latest
steps:

- name: Checkout repository
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
submodules: true

- name: Install JSON-Schema-Validator
run: npm install -g jsonschema

- name: Validate App Store Schema
run: jsonschema -i ./cms/apps/applications.json ./schemas/applications.schema.json

0 comments on commit 11ae6ec

Please sign in to comment.