fix(electron): open Preferences popover on the current macOS Space (#94) #556
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 Testing | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| # Allow manual workflow dispatch | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: storybook-test-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| storybook-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Prepare environment | |
| uses: ./.github/actions/prepare | |
| - name: Install Playwright Browsers 🎭 | |
| run: pnpm exec playwright install --with-deps chromium | |
| - name: Build Storybook | |
| run: pnpm build-storybook | |
| - name: Run Storybook tests | |
| run: pnpm test:storybook --run | |
| - name: Upload Storybook test results | |
| if: failure() | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: storybook-test-results | |
| path: storybook-test-results/ | |
| retention-days: 7 |