github.com/gopherjs/gopherjs@v1.19.0-beta1.0.20240506212314-27071a8796e4/.github/workflows/measure-size.yml (about) 1 name: Measure canonical app size 2 3 on: ['pull_request'] 4 5 jobs: 6 measure: 7 runs-on: ubuntu-latest 8 steps: 9 - uses: actions/checkout@v2 10 with: 11 fetch-depth: 0 12 - uses: actions/setup-go@v2 13 with: 14 go-version: '~1.19.13' 15 - uses: gopherjs/output-size-action/measure@main 16 with: 17 name: jQuery TodoMVC 18 repo: https://github.com/gopherjs/todomvc 19 go-package: github.com/gopherjs/todomvc 20 report_json: /tmp/report.json 21 report_md: /tmp/report.md 22 - uses: actions/upload-artifact@v2 23 with: 24 name: size_report 25 path: | 26 /tmp/report.json 27 /tmp/report.md 28