feat: add resolve ticket functionality #64
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: Ensure code quality | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| - name: Setup Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: "corretto" | |
| java-version: "17" | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Ensure linting | |
| run: | | |
| npm run format | |
| if [[ $(git status --porcelain) ]]; then | |
| echo "Linting introduced changes. Please fix the issues."; | |
| git --no-pager diff; | |
| exit 1; | |
| fi | |
| - name: Typespec compile | |
| run: npm run compile all | |
| - name: Check openapi is in sync | |
| run: | | |
| if [[ $(git status --porcelain) ]]; then | |
| echo "OpenAPI spec is out of date. Did you forget to run 'npm run compile'?"; | |
| exit 1; | |
| fi | |
| - name: Openapi Generation | |
| run: npm run generate all |