fixup! docs: Update benchmark with Papr v14 and node.js v18 #5
Workflow file for this run
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
name: Benchmark | |
on: | |
push: | |
branches: [test/benchmark-node-v18-papr-v14] | |
# TODO: cron | |
jobs: | |
benchmark: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: pnpm/[email protected] | |
with: | |
version: 8 | |
- uses: actions/[email protected] | |
with: | |
node-version-file: 'package.json' | |
cache: 'pnpm' | |
- uses: supercharge/[email protected] | |
with: | |
mongodb-version: 6.0 | |
- id: date | |
run: | | |
echo "date=$(date +%Y-%m-%d)" >> $GITHUB_OUTPUT | |
- run: node -v | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm benchmark | |
- run: git diff | |
# - id: create-pr | |
# uses: peter-evans/create-pull-request@v5 | |
# with: | |
# add-paths: docs | |
# base: main | |
# body: 'Automated benchmark results generated on ${{ steps.date.outputs.date }}' | |
# branch: docs/benchmark-${{ steps.date.outputs.date }} | |
# commit-message: 'docs: Benchmark results ${{ steps.date.outputs.date }}' | |
# delete-branch: true | |
# reviewers: avaly | |
# title: 'docs: Benchmark results ${{ steps.date.outputs.date }}' | |
# - if: ${{ steps.create-pr.outputs.pull-request-number }} | |
# run: | | |
# echo "Pull Request Number - ${{ steps.create-pr.outputs.pull-request-number }}" | |
# echo "Pull Request URL - ${{ steps.create-pr.outputs.pull-request-url }}" |