Add new business type field to potential user info #420
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: Lint | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'openapi.yaml' | |
| - 'docusaurus-docs/**/*.md' | |
| - '.markdownlint.json' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'openapi.yaml' | |
| - 'docusaurus-docs/**/*.md' | |
| - '.markdownlint.json' | |
| # Allow manual triggering | |
| workflow_dispatch: | |
| jobs: | |
| lint: | |
| name: Lint Code & Documentation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '18' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Check combined schema | |
| run: | | |
| npm run build:openapi | |
| if [ -n "$(git status --porcelain)" ]; then | |
| echo "Error: Build produced uncommitted changes in openapi.yaml. Please rerun npm run build:openapi and commit the changes to the combined schema" | |
| exit 1 | |
| fi | |
| - name: Lint | |
| run: npm run lint:openapi |