feat: add ossinsight cli to sync collection configs #322
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify Query Definition | |
on: | |
pull_request: | |
paths: | |
- 'configs/queries/**' | |
- 'packages/types/**' | |
defaults: | |
run: | |
shell: bash | |
working-directory: packages/types | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
name: Install pnpm | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: 'pnpm' | |
- name: Install Dependencies | |
run: pnpm i --frozen-lockfile --strict-peer-dependencies | |
- name: Verify Query Definition | |
run: pnpm run validate:query |