Skip to content

Bump cmdk from 0.2.0 to 0.2.1 (#45) #109

Bump cmdk from 0.2.0 to 0.2.1 (#45)

Bump cmdk from 0.2.0 to 0.2.1 (#45) #109

Workflow file for this run

# Name of our action
name: Build
# The event that will trigger the action
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
# Next.js
NEXT_PUBLIC_SITE_URL: 'http://localhost:3000'
# Resend
RESEND_TOKEN: '.'
RESEND_FROM: '.'
RESEND_AUDIENCE_ID: '.'
# PlanetScale
DATABASE_URL: '.'
# Clerk
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: '.'
CLERK_SECRET_KEY: '.'
NEXT_PUBLIC_CLERK_SIGN_IN_URL: '.'
NEXT_PUBLIC_CLERK_SIGN_UP_URL: '.'
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL: '.'
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL: '.'
CLERK_WEBHOOK_SECRET: '.'
# BetterStack
BETTERSTACK_API_KEY: '.'
BETTERSTACK_URL: '.'
# Canny
CANNY_PRIVATE_KEY: '.'
# OpenAI
OPENAI_API_KEY: '.'
# Stripe
STRIPE_SECRET_KEY: '.'
# Sentry
NEXT_PUBLIC_SENTRY_DSN: '.'
SENTRY_ORG: '.'
SENTRY_PROJECT: '.'
# Knock
KNOCK_API_KEY: '.'
KNOCK_SIGNING_KEY: '.'
# Google Analytics
NEXT_PUBLIC_GA_MEASUREMENT_ID: '.'
# Segment
NEXT_PUBLIC_SEGMENT_WRITE_KEY: '.'
SEGMENT_WRITE_KEY: '.'
# what the action will do
jobs:
release:
# The operating system it will run on
runs-on: ubuntu-latest
# The list of steps that the action will go through
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare repository
run: git fetch --unshallow --tags
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Build Next.js app
run: pnpm run build