D3: Custom Action Types
GH-200 GitHub Actions exam practice questions · 10 flashcards
Question
JavaScript actions?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Custom Action Types practice questions and answers
- JavaScript actions?Run directly on runner with Node.js (node20/node24); fast; cross-platform.
- Docker container actions?Run in a container with defined environment; Linux runners only; slower startup.
- Composite actions?Combine multiple run steps and actions in action.yml.
- Choosing action type?JS for speed/cross-platform; Docker for specific dependencies/languages; composite for step reuse.
- @actions/core toolkit?Get inputs, set outputs, log, mask, fail (core.setFailed).
- @actions/github toolkit?Authenticated Octokit client and event context.
- Bundling JS actions?Commit node_modules or bundle with ncc/rollup into dist/.
- Immutable actions?Published versions stored as immutable packages in GitHub's registry; versions can't be changed.
- Troubleshooting actions?Check logs with debug, validate inputs, test locally, verify runtime/permissions.
- Scenario: action must run on Windows and macOS runners. Type?JavaScript action (or composite).