mirror of
https://github.com/tenrok/BBob.git
synced 2026-05-15 11:59:37 +03:00
29 lines
528 B
YAML
29 lines
528 B
YAML
name: Benchmark
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
benchmark:
|
|
name: Benchmark
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout the repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
cache: 'npm'
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Bootstrap dependencies
|
|
run: npm run bootstrap
|
|
|
|
- name: Run benchmark
|
|
run: cd benchmark && npm start
|