mujo-code / puppeteer-headful

Github Action for puppeteer that is headful.
MIT License
100 stars 41 forks source link

add action.yml file #104

Closed wentokay closed 1 year ago

wentokay commented 2 years ago

I'm currently trying to use https://github.com/Wandalen/wretry.action with a puppeteer step in my github actions workflow that's a bit unreliable, but it doesn't work because there's no action.yml in this (super useful!) workflow package.

  - name: run puppeteer e2e tests
    uses: Wandalen/wretry.action@v1.0.11
    with:
      action: mujo-code/puppeteer-headful@v2
      with: |
        args: yarn e2e
      attempt_limit: 3
      attempt_delay: 30000

Screenshot 2022-05-27 at 06 41 26

I'm not 100% if the syntax is correct here as I don't know if args needs to be a named input but I think it should be ok?

jcblw commented 2 years ago

Hey thanks for this, not 100% sure either. I just looked over the documentation of this, and it looks like this is a great addition. I still need to do some verification but thanks for the contribution.

jcblw commented 2 years ago

Ok looking at the inputs you put, it looks great thanks for getting that setup. I think the label stuff I the only update needed here.

jcblw commented 1 year ago

@wentokay moved this pr to #117 but kept your commit.