Flashcardsfor IT Certifications

D3: Custom Action Types

GH-200 GitHub Actions exam practice questions · 10 flashcards

Question
JavaScript actions?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

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