chore(deps): update dependency mocha to v11 #221
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: NewOldBenchmark | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
inputs: | |
compare_version: | |
default: latest | |
description: Versions to compare | |
jobs: | |
benchmark: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- name: Setup | |
run: npm run setup | |
- name: Install Packages | |
run: npm install -f | |
- name: Install target | |
run: npm install -f toml-eslint-parser@${{ github.event.inputs.compare_version }} | |
if: ${{ github.event.inputs.compare_version != null }} | |
- name: Build | |
run: npm run build | |
- name: Benchmark | |
run: npm run benchmark |