How to use JavaScript in GitHub Actions without committing `node_modules`

1 · Ulysses Zhan · Nov. 16, 2024, 3:14 a.m.
I was creating my first GitHub Action. According to the official documentation, I should commit the `node_modules` to the repo or generate a script that bundles the whole `node_modules` if I want to create a JavaScript action. I think this is not good practice, so I try to find another way....