Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GitHub Exam GitHub-Actions Topic 6 Question 16 Discussion

Actual exam question for GitHub's GitHub-Actions exam
Question #: 16
Topic #: 6
[All GitHub-Actions Questions]

How should you install the bats NPM package in your workflow?

A)

B)

C)

D)

Show Suggested Answer Hide Answer
Suggested Answer: D

The correct syntax includes specifying the job (example-job), the runner (ubuntu-latest), and the necessary step (npm install -g bats) within the workflow. This ensures that the package is installed properly during the execution of the job.


Contribute your Thoughts:

Billi
14 days ago
Why do you think Option B is better?
upvoted 0 times
...
Pearline
23 days ago
I disagree, I believe Option B is the best way to install it.
upvoted 0 times
...
Billi
26 days ago
I think we should install the bats NPM package using Option A.
upvoted 0 times
...

Save Cancel