Repository navigation
Fix UAuthUrlBuilder when Tenant Specified #10
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: JavaScript Client Tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - dev | |
| - master | |
| permissions: | |
| contents: read | |
| jobs: | |
| detect-changes: | |
| name: Detect JavaScript Changes | |
| runs-on: ubuntu-latest | |
| outputs: | |
| javascript: ${{ steps.filter.outputs.javascript }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Detect changed files | |
| id: filter | |
| uses: dorny/paths-filter@v3 | |
| with: | |
| filters: | | |
| javascript: | |
| - 'src/client/CodeBeam.UltimateAuth.Client.Blazor/TScripts/**' | |
| - 'tests/CodeBeam.UltimateAuth.Tests.Unit/javascript/**' | |
| - '.github/workflows/javascript-tests.yml' | |
| javascript-tests: | |
| name: Node.js Client Tests | |
| needs: detect-changes | |
| if: needs.detect-changes.outputs.javascript == 'true' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| - name: Run JavaScript tests | |
| run: node --test tests/CodeBeam.UltimateAuth.Tests.Unit/javascript/*.test.cjs |