Skip to content

Update CODEOWNERS for legacy-theme directory (#7351) #8543

Update CODEOWNERS for legacy-theme directory (#7351)

Update CODEOWNERS for legacy-theme directory (#7351) #8543

Workflow file for this run

name: Stress Tests
on: [push]
jobs:
stress-tests:
runs-on: ubuntu-latest-4-cores
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
- name: Set up Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build storybook
run: npx storybook build
working-directory: packages/react
- name: Run storybook
id: storybook
run: |
npx serve -l 6006 packages/react/storybook-static &
pid=$!
echo "pid=$pid" >> $GITHUB_OUTPUT
sleep 5
- name: Run Stress Tests
uses: docker://mcr.microsoft.com/playwright:v1.56.1-jammy
env:
STORYBOOK_URL: 'http://172.17.0.1:6006'
with:
args: npx playwright test --grep @stress-test"
- name: Stop storybook
if: ${{ always() }}
run: kill ${{ steps.storybook.outputs.pid }}
- name: Download previous benchmark data (if any)
uses: actions/cache@v5
with:
path: ./cache
key: stress-tests-benchmark
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'customSmallerIsBetter'
output-file-path: results.json
# Where the previous data file is stored
external-data-json-path: ./cache/stress-tests-benchmark-data.json
github-token: ${{ secrets.GITHUB_TOKEN }}
alert-threshold: '200%'
# Workflow will not fail when an alert happens (fail-on-alert is set to false)
fail-on-alert: false
# Disable alert commit comment
comment-on-alert: false
# Mention @rhysd in the commit comment
alert-comment-cc-users: '@hectahertz'