GitHub Actions Certification — Question 10
As a developer, how can you identify a JavaScript action on GitHub?
Answer options
- A. The actions repository name includes the keyword "JavaScript."
- B. The action's repository includes a js.yml file in the .github/workflows directory.
- C. The action.yml metadata file references a package.json file.
- D. The action,yml metadata file has the runs.using value set to node16.
Correct answer: D
Explanation
The correct answer is D because the runs.using value being set to node16 indicates that the action is specifically designed to run with Node.js, which is a key characteristic of JavaScript actions. Options A and B do not necessarily confirm the action is JavaScript related, and option C is irrelevant since the presence of a package.json file does not define the action's environment.