Skip to content

Commit

Permalink
Refactor benchmark.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammad0-0ahmad committed Jul 24, 2022
1 parent fb368ee commit 6ec14c9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Benchmark
name: TypeScript Benchmark
on:
pull_request:
paths:
Expand All @@ -23,14 +23,15 @@ jobs:
name: Benchmark TypeScript Types
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2

with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
with:
node-version: 16

- run: npm install

- run: npx ts-benchmark -p ./benchmarks/typescript/simple -f 17/100000 18 29 32 -b master -g --colors
- run: npx ts-benchmark -p ./benchmarks/typescript/simple -f 17/100000 18 29 32 -b master -g -t --colors
env:
DB_URL: ${{ secrets.DB_URL }}

0 comments on commit 6ec14c9

Please sign in to comment.