Open jhampson-dbre opened 2 years ago
I tried running v6.0 on a GitHub-hosted runner and it ran successfully.
Looking at actions/http-client
that has tunnel
dependency, it looks like it is only referenced when the runner is behind a proxy.
if (useProxy) {
// If using proxy, need tunnel
if (!tunnel) {
tunnel = require('tunnel')
}
The runner where I am getting the Cannot find module 'tunnel'
error is on a self-hosted runner behind a proxy, so that explains why this error doesn't always occur. I have tried following the instructions for getting a new release ready to publish by running npm install
, and it does add the package under node_modules/tunnel
, so I'm not sure why it hasn't been included since v5.3, but it does seem to confirm that adding the package to the release would resolve the issue.
Hi o/
We have been using v5 of github-tag-action for a while. Today we tried to update to v6.0 and we are getting this error at the start of the job step:
Going back through the release history, it looks like the last release with
node_modules/tunnel
was v5.3. We retried with v5.3 and we do not get the theError: Cannot find module 'tunnel'
error. It seems like thistunnel
dependency just needs to be committed to the repo in newer releases? Not sure why this wouldn't have come up as an issue for other people before now though.