mirror of
https://github.com/tenrok/BBob.git
synced 2026-05-15 11:59:37 +03:00
da6709d437
* feat: use swc.rs instead of babel * BREAKING CHANGE: now we use swc.rs as main bundler and transpiler instead of babel - jest now uses swc - rollup now uses swc * feat: benchmark now separate package with `npm start` and colored output - benchmark as separate package with error throw if package drops performance * feat: all lerna packages now using scripts/pkg-task * feat(github): publish to npm and github registry - when release was created this action automaticly publish packages to npm and github * feat(github): move all from Travis CI to Github Actions - code analysis and tests now using github actions * test: increase tests coverage - add more tests for @bbob/react, @bbob/vue2 and @bbob/parser
20 lines
438 B
YAML
20 lines
438 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: Install Node.js
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 14
|
|
- name: Install dependencies
|
|
run: cd benchmark && npm ci
|
|
- name: Run benchmark
|
|
run: cd benchmark && npm start
|