tzkhan / pr-update-action

GitHub Action that updates a pull request with information extracted from branch name

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v1.1.0 does not contain node_modules

rocketraman opened this issue · comments

The v1.1.0 is a tag, and as such it does not contain node_modules which is required by GitHub actions to execute the workflow.

Please create a branch, and un-ignore node_modules on that branch, as you did for v1.

@rocketraman Have you actually tried referencing the v1.1.0 tag and seen it fail?

Both versions should work just fine as they are. For v1.1.0, I've compiled all referenced code into a single index.js file under dist which is why including node_modules isn't needed.

I'm leaving this issue open for now anyway until you confirm it's working for you.

I didn't try it on the v1.1.0 tag, but I have tried it in the past on an earlier version and it didn't work. I did note that package.json contains main: index.json and not main: dist/index.json.

The configuration in package.json is correctly set and no changes are required. Regarding your original request, as stated previously, including node_modules folder for v1.1.0 isn't needed either.

Ah, thanks, I see you fixed this here: b39c8bb.