feat: add webhook and webhookConfig for js and python sdk #6563
Workflow file for this run
This file contains hidden or 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: Format code | |
| on: | |
| push: | |
| branches: [ 'main' ] | |
| pull_request: | |
| branches: [ 'main' ] | |
| jobs: | |
| format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| cache: 'npm' | |
| - run: USE_LOCAL_BUILD=true npm ci | |
| - name: Run format | |
| run: npx prettier '**/*.ts' '**/*.mjs' '**/*.mjs' '**/*.json' --check | |
| - name: Run linter | |
| run: npm run lint |