CoolFace
Apppublic

strong-tie/inbound-calls

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
bench.yml62 linesDownload Raw Back to workflows
1name: Benchmarks2on:3  push:4    branches:5      - main6    paths-ignore:7        - 'docs/**'8        - '*.md'9  pull_request:10    paths-ignore:11        - 'docs/**'12        - '*.md'13 14permissions:15  contents: read16 17jobs:18  benchmark_current:19    name: benchmark current20    runs-on: ubuntu-latest21    steps:22      - name: Checkout Code23        uses: actions/checkout@v424        with:25          ref: ${{ github.base_ref }}26          persist-credentials: false27      - name: Setup Node28        uses: actions/setup-node@v429        with:30          node-version: lts/*31      - name: Install Modules32        run: npm i --ignore-scripts33      - name: Run Benchmark34        run: npm run bench | tee current.txt35      - name: Upload Current Results36        uses: actions/upload-artifact@v437        with:38          name: current39          path: current.txt40 41  benchmark_branch:42    name: benchmark branch43    runs-on: ubuntu-latest44    steps:45      - name: Checkout Code46        uses: actions/checkout@v447        with:48          persist-credentials: false49      - name: Setup Node50        uses: actions/setup-node@v451        with:52          node-version: lts/*53      - name: Install Modules54        run: npm i --ignore-scripts55      - name: Run Benchmark56        run: npm run bench | tee branch.txt57      - name: Upload Branch Results58        uses: actions/upload-artifact@v459        with:60          name: branch61          path: branch.txt62