Based on the YAML below, which two statements are correct? (Choose two.)
Based on the YAML below, which two statements are correct? (Choose two.)
A . This workflow will publish a package to an npm registry.
B . This workflow will publish a package to GitHub Packages.
C . This workflow file is using a matrix strategy.
D . The workflow job publish-npm will only run after the build job passes.
Answer: A, D
Explanation:
The publish-npm job includes the JS-DevTools/npm-publish action, which is used to publish an npm package to an npm registry.
The publish-npm job has the needs: build directive, meaning it will only run after the build job successfully completes.
Latest GitHub Actions Dumps Valid Version with 72 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments