Coding task · Next.js course · Module 8: Deployment and Production

Practice: Create a GitHub Actions Workflow for Automated Deployment

Create a GitHub Actions workflow

Task

Create a GitHub Actions workflow that runs on push to the main branch: checkout, setup-node, install the dependencies, run the tests, build, and finally deploy to Vercel with the token from the VERCEL_TOKEN secret.