capawesome-team / capacitor-nfc

⚡️ Capacitor plugin for reading and writing NFC tags.
https://capawesome.io/plugins/nfc/
MIT License
73 stars 14 forks source link

Adding npm login to batch script #29

Closed onevcard-team closed 1 year ago

onevcard-team commented 1 year ago

Hello Capawesome Team,

we are currently experiencing some issues regarding the npm login in our batch script that we use for triggering a docker login/build.

When performing the npm login it needs a username and password and we want to automatically fill these with the env variable GITHUB_USERNAME and GITHUB_PASSWORD.

I have tried a few things now but non of the solutions i found were working.

Reading out the values from the .env file is already working but piping it to the login command not. Is there a way that we can do this?

Greetings Luca