Skip to content

ci: measure without Nx cache #26

ci: measure without Nx cache

ci: measure without Nx cache #26

Workflow file for this run

name: build & log
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- run: sudo apt install hyperfine -y
- run: pnpm install
- run: pnpm nx run-many -t build build-wp build-es
- run: ls -lah dist/ng-rspack/rspack >> build.log
- run: ls -lah dist/ng-rspack/webpack >> build.log
- run: ls -lah dist/ng-rspack/esbuild/browser >> build.log
- run: cat build.log
- run: hyperfine -n "Webpack" "pnpm nx build-wp" -n "Rspack" "pnpm nx build" -n "Esbuild" "pnpm nx build-es" --prepare "rm -rf .angular dist" --export-markdown perf.md
- name: Commit & Push
run: |
git config --local user.email "[email protected]"
git config --local user.name "Edouard Bozon"
git add build.log perf.md
git commit -m "chore: update perf logs"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}