fix(tools): keep the element smoke self-contained and let publish dry… #1001
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: AutoFlow CI | |
| on: | |
| push: | |
| branches: [main, dev] | |
| pull_request: | |
| branches: [main, dev] | |
| workflow_call: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| dependency-review: | |
| if: github.event_name == 'pull_request' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| # v5.0.0 | |
| - uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 | |
| with: | |
| fail-on-severity: high | |
| autoflow-ci: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| # v7.0.0 | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| with: | |
| fetch-depth: 0 | |
| - uses: ./.github/actions/setup-deno-workspace | |
| - name: Install Playwright browsers | |
| run: ./node_modules/.bin/playwright install --with-deps chromium | |
| - name: AutoFlow3 CI gate | |
| run: deno task autoflow:ci | |
| # Cross-browser smoke: the main gate is chromium-only. Run the core | |
| # DSD/island-hydration/theme specs on Firefox and WebKit against the | |
| # www/dist the gate's build step already produced. | |
| - name: Install Playwright Firefox | |
| run: ./node_modules/.bin/playwright install --with-deps firefox | |
| - name: Firefox smoke E2E | |
| run: deno task test:e2e:firefox-smoke | |
| - name: Install Playwright WebKit | |
| run: ./node_modules/.bin/playwright install --with-deps webkit | |
| - name: WebKit smoke E2E | |
| run: deno task test:e2e:webkit-smoke |