Workers github action"could not resolve..."

Hey, im trying to use the github action to deploy my worker when pushing to the github repo. Im able to use wrangler publish, but im getting this error when the github action runs. Thanks!
6 Replies
IEatBeans
IEatBeansOP2y ago
do I need to "mark it as external"? how do i do that?
IEatBeans
IEatBeansOP2y ago
doesnt look like this has been updated, is this no longer the way to go?
James
James2y ago
Make sure you have that dependency listed in your package.json, and then make sure in your action you run npm ci or similar to update packages
IEatBeans
IEatBeansOP2y ago
oh I missed the npm ci, lemme try that
IEatBeans
IEatBeansOP2y ago
where would I put it in here? not super familiar with gh actions
IEatBeans
IEatBeansOP2y ago
i got it an it works. thanks!
Want results from more Discord servers?
Add your server