How do you properly implement/declare environment variables (containing an access token) from github actions in your .js script without getting an Uncaught ReferenceError?
Asked
Active
Viewed 327 times
0
-
Did you try using `process.env.VARIABLE_NAME` after setting the variable as ENV on your github action workflow? – GuiFalourd Jun 02 '21 at 15:08
-
@GuiFalourd Yes I did but got `Uncaught ReferenceError process is not defined` – Duke Sanmi Jun 02 '21 at 15:53
-
I'm not familiar with Node, but [this post](https://stackoverflow.com/questions/30239060/uncaught-referenceerror-process-is-not-defined) could help. – GuiFalourd Jun 02 '21 at 16:12