🔥 3-day streak
GitHub Actions (GH-200)65 / 142
Question 65 of 142

You author a JavaScript action whose action.yml declares `runs.using: node20` and `runs.main: index.js`. The source imports `@actions/core` and `@actions/github`. When another repository references your action with `uses: your-org/greet-action@v1`, the workflow fails immediately with an error indicating that the module '@actions/core' cannot be found. Your repository contains only `action.yml`, `index.js`, and `package.json` on the tagged commit. What is the most appropriate fix?

Reviewed for accuracy · Report an issueNext question