Skip to content

chore(i18n): add consistent translation kebab #712

chore(i18n): add consistent translation kebab

chore(i18n): add consistent translation kebab #712

Workflow file for this run

name: Performance Regression
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
checkout_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- node-version: 18.x
- node-version: latest
steps:
- name: Checkout code from ${{ github.repository }}
uses: actions/checkout@v3
- name: Install
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install yarn
run: corepack enable && corepack prepare yarn@stable --activate
- name: Wasm pack build modules
run: cd kayle_innate && wasm-pack build --release --target nodejs && cd ../
- name: Install and build locales
run: yarn --no-immutable && yarn build && npx playwright install --with-deps chromium
- name: Run Bench fast_htmlcs
run: cd ./kayle && yarn bench:playwright:htmlcs > output.json
- name: Run Bench fast_axe
run: cd ./kayle && yarn bench:playwright:axe > output-axe.json
- name: Download previous benchmark data
uses: actions/cache@v3
with:
path: ./cache
key: ${{ runner.os }}-benchmark
- name: Store benchmark result Fast_Htmlcs
uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'customSmallerIsBetter'
output-file-path: kayle/output.json
external-data-json-path: ./cache/benchmark-data.json
fail-on-alert: true
- name: Store benchmark result Fast_Axe
uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'customSmallerIsBetter'
output-file-path: kayle/output-axe.json
external-data-json-path: ./cache/benchmark-data-axe.json
fail-on-alert: true