Github actions eslint: command not found #26593
-
I recently created this action and want to lint the typescripts files using the eslint, but I get the error saying that I am not sure what is wrong here, I need help to fix this issue. This is my workflow file
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
I’m having the same issue. Could you figure that one out by now? |
Beta Was this translation helpful? Give feedback.
-
I had the same issue, adding In case of your file, you’d have to change the last line to:
If you’re using |
Beta Was this translation helpful? Give feedback.
-
Thanks for the solution it worked :slight_smile: |
Beta Was this translation helpful? Give feedback.
-
Alternatively you can run using |
Beta Was this translation helpful? Give feedback.
-
package.json
ci.yml
And i'm facing this issue Q: How can I use a package script to run Thanks |
Beta Was this translation helpful? Give feedback.
I had the same issue, adding
yarn run
beforeeslint
fixed it for me.In case of your file, you’d have to change the last line to:
If you’re using
npm
then you should replaceyarn run
withnpx
.