-
Notifications
You must be signed in to change notification settings - Fork 44
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
Support new with params #1
Comments
Here is an example of what I think this syntax should look like. This allows the downloading of a specific version of node and chrome. - name: Test code
uses: mujo-code/puppeteer-headful@v2
with:
node-version: '12.x'
chrome-version: 'latest'
run: npm run test |
@stefanbuck so the only way I can see this working would be the workaround mentioned in the feature request here. https://github.community/t/feature-request-build-args-support-in-docker-container-actions/16846 Feel like this is going to take a little reworking of how this action works and seems like it would slow down build times since we would be building a docker container in a docker container. I can play around with it this weekend and see how well this works. |
Actually thinking about this, we can probably just tag the new versions. I think that is what I actually did in the past to make it align with the version of NodeJS in the container. Actually might want to do this request with only Chrome versions and then we can tell people if they want a Nodejs version they need to find the nearest tag. |
Mhhh, so a new version of this Action whenever a new Chrome version comes out, is this what you are saying? Does this scale / work in the long run? Another option is to use |
Yeah, a new tag for each NodeJS version. We run into a similar issue trying to add params to the Chrome version even though I could see some benefits to being able to test on beta or canary. |
This will help with versions of chrome and nodejs.
The text was updated successfully, but these errors were encountered: