This repository has been archived by the owner on May 22, 2024. It is now read-only.
chore: test that bootstrap code applies side-effect first #4535
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: Benchmark | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
benchmark: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '*' | |
cache: 'npm' | |
check-latest: true | |
- name: Install dependencies | |
run: npm ci | |
- name: Run benchmarks | |
run: npm run benchmark | |
- name: Run Delta | |
uses: netlify/delta-action@v4 | |
with: | |
title: '⏱ Benchmark results' | |
token: ${{ secrets.GITHUB_TOKEN }} |