Actions for Node.js Apps
summary
YAML workflows live in .github/workflows and demonstrate concrete steps: use actions/checkout@v2 and actions/setup-node@v2 to install Node LTS, run npm install and lint, and run tests (example shows 110 tests passing). CI builds Docker via docker/build-push-action with tags latest and sha=${{github.sha}}, pushes to a registry, then deploys with appleboy/ssh-action pulling the image and docker run -d — a simple stop/start deploy that works but causes downtime.
AI-written summary · about
chapters (11)
- 0:00Start
- 0:42Overview of Github Actions
- 4:06Example Workflow
- 6:55Npm Install
- 10:03Build Job
- 10:16Set Up the Docker Environment
- 12:16Deployment
- 12:38Deploy the Application to a Vps
- 15:46Run Workflow
- 16:35Github Actions
- 17:19Inputs
related talks
30mSpend More Time Coding & Automate the Boring Stuff
18mAutomating All the Code & Testing Things with GitHub Actions
35mZero to Hero CI/CD with github actions
01h 00mIntroduction to GitHub Actions
01h 47mDeveloper Workflow Automation with GitHub Actions
44mCI/CD with GitHub Actions
59mIntroduction to GitHub Actions
18mDeveloper Workflow Automation with GitHub Actions (CI/CD)
