-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: add benchmark * ci: install bun and deno * ci: update bun
- Loading branch information
1 parent
c4a4662
commit 8b086eb
Showing
4 changed files
with
91 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: '🎖️ CI — Benchmark' | ||
|
||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
benchmark: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
strategy: | ||
fail-fast: false | ||
name: Compare | ||
steps: | ||
- name: ➕ Actions - Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: ➕ Actions - Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '22.x' | ||
|
||
- name: ➕ Cache dependencies | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.npm | ||
key: npm-linux-${{ hashFiles('package-lock.json') }} | ||
restore-keys: npm-linux- | ||
|
||
- name: ➕ Actions - Setup Bun | ||
uses: oven-sh/setup-bun@v2 | ||
with: | ||
bun-version: 'latest' | ||
|
||
- name: ➕ Actions - Setup Deno | ||
uses: denoland/setup-deno@v1 | ||
with: | ||
deno-version: 'v1.x' | ||
|
||
- name: ➕ Cache dependencies (Benchmark) | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.npm | ||
key: npm-benchmark-${{ hashFiles('benchmark/package-lock.json') }} | ||
restore-keys: npm-benchmark- | ||
|
||
- name: 📦 Installing Dependencies | ||
run: npm ci | ||
|
||
- name: 🚀 Building Poku | ||
run: npm run build | ||
|
||
- name: 🎖️ Rock it | ||
run: npm run benchmark |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
node_modules | ||
.DS_Store | ||
deno.lock | ||
/deno.lock | ||
/lib | ||
/browser | ||
/playground |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters