fix(endpoint-auth): accept code exchange without grant_type at the authorization endpoint
#2196
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: build | |
| on: | |
| pull_request: | |
| branches-ignore: | |
| - dependabot/* | |
| paths-ignore: | |
| - docs/** | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - ready_for_review | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| if: github.event.pull_request.draft == false | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [24.17] | |
| mongodb-version: [4] | |
| steps: | |
| - name: Remove temporary files | |
| run: sudo rm -rf /tmp/* | |
| - name: Remove hosted tool cache | |
| run: sudo rm -rf /opt/hostedtoolcache | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: "npm" | |
| - name: Start MongoDB | |
| uses: supercharge/mongodb-github-action@1.12.1 | |
| with: | |
| mongodb-version: ${{ matrix.mongodb-version }} | |
| - name: Download localisations | |
| uses: localazy/download@v1 | |
| with: | |
| read_key: ${{ secrets.LOCALAZY_READ_KEY }} | |
| write_key: ${{ secrets.LOCALAZY_WRITE_KEY }} | |
| - name: Install packages and symlink local dependencies | |
| run: npm ci | |
| - name: Run linter | |
| run: npm run lint | |
| - name: Run tests | |
| env: | |
| NODE_ENV: test | |
| PASSWORD_SECRET: ${{ secrets.PASSWORD_SECRET }} | |
| SECRET: ${{ secrets.SECRET }} | |
| run: npm test |