feat(examples): add database-conns POC for signup and change-password #202
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: Runtime Compatibility (Cloudflare Workers) | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| jobs: | |
| test_core: | |
| name: auth0-auth-js | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 22 | |
| package-manager-cache: false | |
| - name: Update npm | |
| run: npm install -g npm@latest | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Build auth0-auth-js | |
| run: npm run build -w @auth0/auth0-auth-js | |
| - name: Test | |
| run: npm run test:workers -w @auth0/auth0-auth-js | |
| test: | |
| name: ${{ matrix.package }} | |
| runs-on: ubuntu-latest | |
| needs: test_core | |
| strategy: | |
| matrix: | |
| package: [auth0-server-js, auth0-api-js] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 22 | |
| package-manager-cache: false | |
| - name: Update npm | |
| run: npm install -g npm@latest | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Build auth0-auth-js | |
| run: npm run build -w @auth0/auth0-auth-js | |
| - name: Build ${{ matrix.package }} | |
| run: npm run build -w @auth0/${{ matrix.package }} | |
| - name: Test | |
| run: npm run test:workers -w @auth0/${{ matrix.package }} |