Release PR: official #1754
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: Typedoc | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| types: [closed] | |
| branches: | |
| - dev | |
| jobs: | |
| deploy: | |
| if: ((github.event.pull_request.merged == true && startsWith(github.head_ref,'release-staging')) || github.event_name == 'workflow_dispatch') | |
| runs-on: windows-latest | |
| permissions: | |
| contents: write | |
| pages: write | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| submodules: true # Fetch Hugo themes (true OR recursive) | |
| fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| - name: Install | |
| run: npm i --workspace=lib/** --workspace=@azure/msal-node-extensions --include-workspace-root | |
| - name: Build | |
| run: npm run build --workspace=lib/** | |
| - name: Build extensions | |
| run: npm run build:js --workspace=@azure/msal-node-extensions | |
| - name: Generate | |
| run: npm run doc:generate | |
| - name: Deploy | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./ref | |
| destination_dir: ./ref | |
| keep_files: true |