stop using native metrics for newer node versions #13482
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: Package Size | |
on: | |
pull_request: | |
schedule: | |
- cron: '0 4 * * *' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
package-size-report: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- run: yarn | |
- name: Compute module size tree and report | |
uses: qard/heaviest-objects-in-the-universe@v1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |