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

Looking for a quick way to install openapi-to-postman without npm or nodejs #786

Open
Pe-te opened this issue Mar 23, 2024 · 1 comment
Open
Labels
usage-questions All issues/questions related to usage of module.

Comments

@Pe-te
Copy link

Pe-te commented Mar 23, 2024

Hi, we have the following steps in our build pipeline:

        - apt-get -y install npm
        - npm i -g openapi-to-postmanv2@4.20.0
        - ./some_script_that_uses_oa2pm2.sh

Install npm also install nodejs, so this step takes 1:20 minutes already.
Install oa2pm2 with npm takes around 10 seconds.
The actual script usage is only 5 seconds.

Is there maybe a faster way to get a runnable version "installed" in the pipeline?

@VShingala
Copy link
Member

@Pe-te Unfortunately no, You could look into using an image with node already present to make the process faster but since this module is completely based on nodejs and npm, there's no wayaround of skipping installation for them.

@VShingala VShingala added the usage-questions All issues/questions related to usage of module. label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage-questions All issues/questions related to usage of module.
Projects
None yet
Development

No branches or pull requests

2 participants