Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

feat: confirmation page, pt.2 #251

feat: confirmation page, pt.2

feat: confirmation page, pt.2 #251

Workflow file for this run

name: Comcamp36 Web/Server Test
permissions:
contents: write
on:
pull_request:
branches:
- "**"
jobs:
build:
name: Lint & Build Test
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }}"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out code
uses: actions/checkout@v4
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- name: "Create env file"
run: |
touch .env
echo NEXT_PUBLIC_POSTHOG_KEY="NEXT_PUBLIC_POSTHOG_KEY" >> .env
echo NEXT_PUBLIC_POSTHOG_HOST="NEXT_PUBLIC_POSTHOG_HOST" >> .env
echo NEXT_PUBLIC_SERVER_URL="NEXT_PUBLIC_SERVER_URL" >> .env
echo NEXT_PUBLIC_IMAGE_HOST="NEXT_PUBLIC_IMAGE_HOST" >> .env
echo SERVER_URL="SERVER_URL" >> .env
cat .env
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Run Lint
run: pnpm lint
- name: Run build
run: pnpm build