🔥 Build & Deploy AWS Lambda with GitHub Actions | CI/CD for TypeScript & Node.js 🚀
Автор: Code with jayant
Загружено: 2024-10-08
Просмотров: 281
Описание:
Join me live as we walk through setting up a CI/CD pipeline using GitHub Actions to deploy AWS Lambda functions built with TypeScript and Node.js! This interactive session is designed to help you master serverless deployment, automate your workflow, and boost your productivity.
What we’ll cover:
🎯 Introduction to CI/CD – Why automation is key.
🔧 GitHub Actions setup – Creating workflows to automate Lambda deployments.
💻 AWS Lambda + TypeScript/Node.js – Writing & deploying a simple function.
🛠️ Configuring AWS credentials in GitHub for seamless deployment.
✅ Adding automated tests to your pipeline.
🚀 Auto-deploying to AWS Lambda with every push.
If you’re looking to level up your skills and code along with me, hit that Subscribe button, turn on notifications 🔔, and join the live chat!
#CI_CD #GitHubActions #AWSLambda #TypeScript #NodeJS #Serverless #DevOps #LiveCoding #CloudComputing #DeveloperLife #aws
yml code -
name: Node.js CI and Deploy
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x]
steps:
uses: actions/checkout@v4
name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
run: npm ci
run: npm run build --if-present
name: Deploy to AWS
env:
SERVERLESS_ACCESS_KEY: ${{ secrets.SERVERLESS_ACCESS_KEY}}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: npx serverless deploy
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: