Skip to content

Add event metadata #4978

Add event metadata

Add event metadata #4978

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
types: [opened, synchronize]
merge_group:
env:
DASHBOARD_AUTH0_CLIENT_ID: ${{ secrets.DASHBOARD_AUTH0_CLIENT_ID }}
DASHBOARD_AUTH0_CLIENT_SECRET: ${{ secrets.DASHBOARD_AUTH0_CLIENT_SECRET }}
DASHBOARD_AUTH0_ISSUER: ${{ secrets.DASHBOARD_AUTH0_ISSUER }}
WEB_AUTH0_CLIENT_ID: ${{ secrets.WEB_AUTH0_CLIENT_ID }}
WEB_AUTH0_CLIENT_SECRET: ${{ secrets.WEB_AUTH0_CLIENT_SECRET }}
WEB_AUTH0_ISSUER: ${{ secrets.WEB_AUTH0_ISSUER }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
NEXTAUTH_SECRET: ${{ secrets.NEXTAUTH_SECRET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
TRIKOM_STRIPE_PUBLIC_KEY: ${{ secrets.TRIKOM_STRIPE_PUBLIC_KEY }}
TRIKOM_STRIPE_SECRET_KEY: ${{ secrets.TRIKOM_STRIPE_SECRET_KEY }}
TRIKOM_STRIPE_WEBHOOK_SECRET: ${{ secrets.TRIKOM_STRIPE_WEBHOOK_SECRET }}
FAGKOM_STRIPE_PUBLIC_KEY: ${{ secrets.FAGKOM_STRIPE_PUBLIC_KEY }}
FAGKOM_STRIPE_SECRET_KEY: ${{ secrets.FAGKOM_STRIPE_SECRET_KEY }}
FAGKOM_STRIPE_WEBHOOK_SECRET: ${{ secrets.FAGKOM_STRIPE_WEBHOOK_SECRET }}
S3_BUCKET_MONOWEB: ${{ secrets.S3_BUCKET_MONOWEB }}
GTX_AUTH0_CLIENT_ID: ${{ secrets.GTX_AUTH0_CLIENT_ID }}
GTX_AUTH0_CLIENT_SECRET: ${{ secrets.GTX_AUTH0_CLIENT_SECRET }}
GTX_AUTH0_ISSUER: ${{ secrets.GTX_AUTH0_ISSUER }}
jobs:
build:
name: Build and Test
timeout-minutes: 15
# env:
# TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
# TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9.0.4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20.12.2
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Type Check
run: pnpm type-check
- name: Lint
run: pnpm lint-check
- name: Build
run: pnpm run build