Create nextjs.yml#103
Conversation
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
|
|
Reviewer's Guide by SourceryAdds a GitHub Actions workflow for building and deploying a Next.js application to GitHub Pages. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) |
There was a problem hiding this comment.
Hey @Dargon789 - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider triggering this workflow on the
mainbranch instead ofmasterif that's the repository's default branch. - Consider reading the Node.js version from a project file like
.nvmrcorpackage.jsoninstead of hardcoding '20'.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Summary by Sourcery
Add a GitHub Actions workflow to build and deploy the Next.js application to GitHub Pages.
CI:
nextjs.yml) triggered on pushes to themasterbranch and manually viaworkflow_dispatch.