compressed-size-action icon indicating copy to clipboard operation
compressed-size-action copied to clipboard

Allow setting environment variables before install

Open swissspidy opened this issue 2 years ago • 1 comments

Would be nice if it's somehow possible to set PUPPETEER_SKIP_DOWNLOAD=true before the action runs npm ci.

swissspidy avatar May 22 '23 07:05 swissspidy

FWIW you might be able to do so via jobs.<job_id>.steps[*].env, i.e.:

...
    steps:
      - uses: actions/checkout@v2
      - uses: preactjs/compressed-size-action@v2
        env:
          PUPPETEER_SKIP_DOWNLOAD: true

PixnBits avatar Sep 05 '23 18:09 PixnBits