| Exam Name: | GitHub Actions Exam | ||
| Exam Code: | GH-200 Dumps | ||
| Vendor: | Microsoft | Certification: | GitHub Administrator |
| Questions: | 137 Q&A's | Shared By: | stevie |
What is a role of GitHub Marketplace when using GitHub Actions?
As a developer, which workflow steps should you perform to publish an image to the GitHub Container Registry? (Choose three.)
As a developer, you need to add the correct syntax to allow the following workflow file to be triggered by multiple types of events.
Which two code blocks should you add starting at line 5? Each correct answer presents a complete solution.
NOTE: Each correct answer is worth one point.
4 name: Node CI/CD
5
6
7
8 jobs:
9 build:
10 runs-on:
11 steps:
12 - uses: actions/checkout@v2
13 - uses: actions/setup-node@v1
14 with:
15 node-version: 12
16 - run: npm ci
17 - run: npm test
18
You need to create a reusable GitHub Actions workflow template named ci.yml. The solution must ensure that ci.yml appears on the New workflow interface of GitHub Actions. Where should you store ci.yml?