Giter Site home page Giter Site logo

Comments (9)

jcblw avatar jcblw commented on September 18, 2024 4

Hey there, @stefanbuck

This is the place I am using this action
https://github.com/mujo-code/source/blob/master/.github/workflows/push.yml#L32

and here is the configuration of puppeteer
https://github.com/mujo-code/source/blob/master/packages/extension/src/e2e.test.js#L19

The only thing that jumps out to me is the different passing of args. I pass it in a with block. Let me know if that working and I can update the documentation around this.

from puppeteer-headful.

stefanbuck avatar stefanbuck commented on September 18, 2024

Right after opening this issue I spotted this as well. Thanks for confirming this and I'll let you know if this works.

from puppeteer-headful.

stefanbuck avatar stefanbuck commented on September 18, 2024

This works, but only if I use test to issue a npm test command. In my case I want to use npm run e2e so set args to run e2e. This seems to be cut off on the whitespace.

from puppeteer-headful.

jcblw avatar jcblw commented on September 18, 2024

yup! left a comment over on the other repo.

OctoLinker/OctoLinker#662 (review)

I think your use case is more common so I am open to changing the way the command is executed.

from puppeteer-headful.

stefanbuck avatar stefanbuck commented on September 18, 2024

I just pushed a commit with args: '"run e2e"' which should work, but it looks super weird 😆

from puppeteer-headful.

stefanbuck avatar stefanbuck commented on September 18, 2024

What about decoupling this from npm so you can pass every command like npm test, npm run whatever or even run.sh?

from puppeteer-headful.

jcblw avatar jcblw commented on September 18, 2024

Seems like that run failed. I am also up for that. I am not sure who all is using it. I know if we switch to just a running a sh script that will bust any existing. that being said I do thing that is probably the right direction.

from puppeteer-headful.

stefanbuck avatar stefanbuck commented on September 18, 2024

Here we go #9

from puppeteer-headful.

jcblw avatar jcblw commented on September 18, 2024

@stefanbuck I merged it thanks again, I think you can run it off master. Let me know if you need a release setup to try.

from puppeteer-headful.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.