Skip to content

build: bump version to 1.5.2 and update CI/CD for dev/production release #1

build: bump version to 1.5.2 and update CI/CD for dev/production release

build: bump version to 1.5.2 and update CI/CD for dev/production release #1

Workflow file for this run

name: Dev Release
on:
push:
branches:
- release-*
jobs:
publish-s3:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Build the project
run: npm run build
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v3
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Deploy to S3
run: sh -c scripts/deploy-staging.sh
create-release:
needs: [publish-s3]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Release
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
generate_release_notes: true
name: Release ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
draft: false
prerelease: true