Skip to content

feat: improve tests performance #8

feat: improve tests performance

feat: improve tests performance #8

Workflow file for this run

name: Deploy Branch
on:
workflow_dispatch:
push:
branches:
- master
- staging
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install Dependencies
run: pnpm install
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ github.ref == 'refs/heads/master' && 'CHANGE_ME' || 'CHANGE_ME' }}
aws-region: eu-central-1 # Is not related to deployment region
role-session-name: CHANGE_ME
- name: Deploy
run: pnpm sst deploy