Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting environment variables before install #94

Open
swissspidy opened this issue May 22, 2023 · 1 comment
Open

Allow setting environment variables before install #94

swissspidy opened this issue May 22, 2023 · 1 comment

Comments

@swissspidy
Copy link

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

@PixnBits
Copy link

PixnBits commented Sep 5, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants