Skip to content

fix: github actions #459

fix: github actions

fix: github actions #459

Workflow file for this run

name: Benchmark
on:
push:
branches:
- master
pull_request:
jobs:
benchmark:
name: Benchmark
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Install PNPM
uses: pnpm/action-setup@v3
with:
version: 8
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Build
run: pnpm build
- name: Run benchmark
run: cd benchmark && pnpm start