feat: base measureFunction API #1446
Workflow file for this run
This file contains 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: 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 }} |