Skip to content

feat: base measureFunction API (#271) #1449

feat: base measureFunction API (#271)

feat: base measureFunction API (#271) #1449

Workflow file for this run

name: Main
on:
push:
branches: [main]
pull_request:
branches: ['**']
jobs:
build-validate-pref-tests:
name: Build, validate & run performance tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'yarn'
- name: Install and build
run: yarn install --force
- name: Install Docusaurus modules
run: cd ./docusaurus && yarn install --force
- name: Validate TypeScript
run: yarn typecheck && yarn typecheck:test-app
- name: Validate ESLint
run: yarn lint
- name: Run tests
run: yarn test && yarn test:test-app
- name: Run performance tests
run: cd test-apps/native && ./reassure-tests.sh
- name: Run Danger.js
run: yarn danger ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}