feat(site): add back benchmark to site (also change cpu model) (#2939)

* ci: add concurrency for deploy site

* feat(site): add benchmark

* refactor(bench): overwrite old result with new

* Update packages/benchmark/src/generateMessage.ts

Co-authored-by: ITOH <to@itoh.at>

* Update scripts/generateMessage.js

Co-authored-by: ITOH <to@itoh.at>

* Update site.yml

---------

Co-authored-by: ITOH <to@itoh.at>
This commit is contained in:
Jonathan Ho
2023-04-02 15:39:52 +00:00
committed by GitHub
co-authored by ITOH
parent 17a52fec1b
commit 7a69c02d13
7 changed files with 225 additions and 21 deletions
+14 -13
View File
@@ -8,21 +8,21 @@ on:
push:
branches: ['main']
paths:
- 'website/**'
- '.github/workflows/site.yml'
- 'jsdoc2md.json'
- 'typedoc.json'
- 'package.json'
- 'packages/**'
- "website/**"
- ".github/workflows/site.yml"
- "jsdoc2md.json"
- "typedoc.json"
- "package.json"
- "packages/**"
pull_request:
branches: ['main']
branches: ["main"]
paths:
- 'website/**'
- '.github/workflows/site.yml'
- 'jsdoc2md.json'
- 'typedoc.json'
- 'package.json'
- 'packages/**'
- "website/**"
- ".github/workflows/site.yml"
- "jsdoc2md.json"
- "typedoc.json"
- "package.json"
- "packages/**"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@@ -89,6 +89,7 @@ jobs:
runs-on: ubuntu-latest
needs: build
if: github.event_name != 'pull_request'
concurrency: deploy-site
steps:
- name: Deploy to GitHub Pages
id: deployment