In one of my repositories I’ve started publishing the files using gha.
In the same repo, when doing
npm publish, the package would have publish as expected.
When I’m using the same command in the repository, only some of the files are being published.
package.json I’ve set npm to publish two folders:
"files": [ "dist/**/*", "template/**/*" ],
Here are images from the repository’s relevant action:
You can see that the
templatefolder exists but only a few files are packaged. The template folder has many more files and folders.
What can be the problem here? Is there anything different when publishing from gha?