mirror of
https://github.com/tenrok/BBob.git
synced 2026-05-24 14:04:06 +03:00
383d436b63
* fix: github actions * fix: node setup * fix: node setup cache * fix: node and npm * fix: pnpm workspace and .gititnore * fix: pnpm node setup * fix: github actions * fix: lock file * fix: workflow install after setup node * fix: lock file * fix: vue3 tests
36 lines
671 B
YAML
36 lines
671 B
YAML
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
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
cache: 'pnpm'
|
|
|
|
- name: Install
|
|
run: pnpm install --frozen-lockfile --strict-peer-dependencies
|
|
|
|
- name: Build
|
|
run: pnpm build
|
|
|
|
- name: Run benchmark
|
|
run: cd benchmark && pnpm start
|