docs(examples): add express passwordless example #231
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: Create npm and GitHub Release | |
| on: | |
| pull_request: | |
| types: | |
| - closed | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| id-token: write # For publishing to npm using --provenance | |
| jobs: | |
| release: | |
| if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/')) | |
| runs-on: ubuntu-latest | |
| environment: release | |
| strategy: | |
| matrix: | |
| package: [auth0-auth-js, auth0-api-js, auth0-server-js] | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| with: | |
| fetch-depth: 0 | |
| - id: release | |
| uses: ./.github/actions/release | |
| with: | |
| package: ${{ matrix.package }} | |
| node-version: 22 | |
| require-build: true | |
| release-directory: ./ | |
| github-token: ${{ secrets.GITHUB_TOKEN }} |