preactjs / compressed-size-action

GitHub Action that adds compressed size changes to your PRs.
https://github.com/marketplace/actions/compressed-size-action
MIT License
602 stars 84 forks source link

 ERROR  Headless installation requires a pnpm-lock.yaml file #98

Closed lixiaofa closed 7 months ago

lixiaofa commented 1 year ago
   - uses: preactjs/compressed-size-action@v2
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          pattern: './dist/fast-plus/dist/*.{js,mjs,css}'
        env:
          NODE_OPTIONS: --max-old-space-size=4096

Error reporting: image I don't have any installed commands

rschristian commented 7 months ago

Sorry for the long time w/out a response.

Looks like a PNPM issue, nothing we could address here. We try to install according to the lock file present in your repo, which looks to be a pnpm-lock.yaml, but if PNPM can't install using that, it's something you need to address in your repo or upstream in PNPM.