Start your terminal to use beginner mode.
Objective
A repository at /home/interview/repo contains a multi-component application with infrastructure code in /infra and documentation in /docs. The repository has the upload-artifact action available locally at .github/actions/upload-artifact.
Task
Complete the workflow at .github/workflows/infra-check.yml so it only runs when files under the /infra directory change. The workflow should trigger on push events with a path filter, use the container image node:20-slim, run ./validate-infra.sh, and upload validation-result.txt as an artifact named validation-report using ./.github/actions/upload-artifact.
File Path
- Workflow:
/home/interview/repo/.github/workflows/infra-check.yml - Validation script:
/home/interview/repo/validate-infra.sh
Terminal requires a larger screen
Open this page on a desktop or tablet (≥ 768px) to launch the terminal and practice hands-on.
Linux Terminal Environment
Write and execute your solution in the terminal below.
Coinbase
Accenture
Adobe
EPAM
Twitch
Amazon
Kayak
Autodesk
Lyft
Revolut
RedHat
Bloomberg
Datadog
Palantir
TCS
HashiCorp
Google
DeutscheBank
GitHub
Apple
Cloudflare
Stripe
Microsoft
NVIDIA
GoDaddy
X
SAP
Spotify
Airbnb
Meta
Reddit
Yelp
Okta
Dropbox
Slack
ActivisionBlizzard
Zscaler
Uber
IBM
DeliveryHero
Robinhood
GitLab
Shopify
Samsung
Elastic
Twilio
Netflix
CrowdStrike
Ubisoft
Anthropic
Capital One
Splunk
Intel
AMD
Databricks