refactor(oauth): share authorization attempts across OAuth flows #1064
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: Storybook Build | |
| concurrency: | |
| group: Storybook-Build-${{ github.workflow }}-${{ github.head_ref || github.event.workflow_run.head_branch || github.run_id }} | |
| cancel-in-progress: true | |
| # Advisory. Storybook builds through its own Vite pipeline, so it breaks | |
| # independently of the Next build and nothing else in presubmit exercises it. | |
| # This surfaces that breakage on the PR without gating the merge. | |
| on: | |
| merge_group: | |
| pull_request: | |
| branches: | |
| - main | |
| - "release/**" | |
| paths: | |
| - "web/**" | |
| - ".github/workflows/pr-storybook-build.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| storybook-build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # ratchet:actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Setup bun | |
| uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # ratchet:oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: "1.3.13" | |
| - name: Cache bun install cache | |
| uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 | |
| with: | |
| path: ~/.bun/install/cache | |
| key: ${{ runner.os }}-bun-${{ hashFiles('web/bun.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-bun- | |
| - name: Install node dependencies | |
| working-directory: ./web | |
| run: bun install --frozen-lockfile | |
| - name: Build Storybook | |
| working-directory: ./web | |
| run: bun run storybook:build |