Use this action to upload a flamegraph to flamegraph.com
- uses: pyroscope-io/flamegraph.com-github-action@main
with:
file: cpu.pprof
You can use act
yarn build
act --container-architecture linux/amd64 --workflows .github/workflows/upload-test.yml
If you use colima
, don't forget to specify the DOCKER_HOST
:
DOCKER_HOST="unix://$HOME/.colima/docker.sock" act --container-architecture linux/amd64 --workflows .github/workflows/upload-test.yml
There's a test github action workflow, so feel free to open a PR and iterate there.
Run yarn build
, and commit the dist
directory.