Skip to content

Merge pull request #18 from kloudmate/fix #4

Merge pull request #18 from kloudmate/fix

Merge pull request #18 from kloudmate/fix #4

Workflow file for this run

name: Release
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Configure AWS Credentials Action for GitHub Actions
uses: aws-actions/[email protected]
with:
aws-region: us-east-1
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Install dependencies
run: npm install
- name: Build
run: npm run compile -w @kloudmate/otel-web-session-recorder
- name: Build otel web
run: npm run compile -w @kloudmate/otel-web
- name: Deploy
run: npm run deploy
env:
BUCKET_NAME: ${{ secrets.BUCKET_NAME }}
CDN_DISTRIBUTION_ID: ${{ secrets.CDN_DISTRIBUTION_ID }}