fix(ci): package reactor dependencies before server tests #386
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: CD / Docs Teardown | |
| on: | |
| pull_request: | |
| types: [closed] | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| teardown: | |
| name: Teardown Preview | |
| runs-on: ubuntu-latest | |
| env: | |
| PREVIEW_URL: ls1intum-hephaestus-docs-pr-${{ github.event.number }}.surge.sh | |
| STORYBOOK_PREVIEW_URL: ls1intum-hephaestus-storybook-pr-${{ github.event.number }}.surge.sh | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Setup Bun | |
| uses: ./.github/actions/setup-bun | |
| - run: bun install --frozen-lockfile --ignore-scripts | |
| - name: Teardown Surge.sh preview | |
| run: bun --bun surge teardown ${{ env.PREVIEW_URL }} --token ${{ secrets.SURGE_TOKEN }} | |
| continue-on-error: true | |
| - name: Teardown Storybook preview | |
| run: bun --bun surge teardown ${{ env.STORYBOOK_PREVIEW_URL }} --token ${{ secrets.SURGE_TOKEN }} | |
| continue-on-error: true | |
| - name: Update PR comment | |
| uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4 | |
| with: | |
| header: docs-preview | |
| message: | | |
| ## 📚 Documentation Preview | |
| ~~Preview has been removed~~ (PR closed) | |
| - name: Update Storybook PR comment | |
| uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4 | |
| with: | |
| header: storybook-preview | |
| message: | | |
| ## 🧩 Storybook Preview | |
| ~~Preview has been removed~~ (PR closed) |