Skip to content

Update description

Update description #8

Workflow file for this run

name: Deployment (Staging)
on:
push:
branches:
- "*"
concurrency:
group: merge-${{ github.ref }}
jobs:
Test:
runs-on: ubuntu-latest
environment: Staging
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run tests
run: pnpm test
Deploy:
needs: Test
uses: ./.github/workflows/deploy.yml
with:
environment: Staging
stage-name: staging
secrets:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
UPSTASH_REDIS_REST_URL: ${{ secrets.UPSTASH_REDIS_REST_URL }}
UPSTASH_REDIS_REST_TOKEN: ${{ secrets.UPSTASH_REDIS_REST_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}