1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
name: Benchmarks
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
FORCE_COLOR: 3
jobs:
benchmarks:
name: Benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- run: npm install
- name: Ensure color support detection
run: node tests/environments.js
- name: Simple API calls
run: node benchmarks/simple.js
- name: Complex formatting expression
run: node benchmarks/complex.js
- name: Library module's init time
run: node benchmarks/loading.js
- name: NPM package size
run: node benchmarks/size.js
|