feat: add ossinsight cli to sync collection configs #1
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 Collection Configs | |
on: | |
pull_request: | |
paths: | |
- 'configs/collections/**' | |
defaults: | |
run: | |
shell: bash | |
working-directory: packages/cli | |
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: Verify Collection Configs | |
run: pnpm run cli:collection:verify | |
env: | |
DATABASE_URL: ${{ secrets.DATABASE_URL }} | |
GITHUB_ACCESS_TOKENS: ${{ secrets.GITHUB_TOKEN }} |