Skip to content

feat: steps campaign application and details skeleton (Epic #1842) #2316

feat: steps campaign application and details skeleton (Epic #1842)

feat: steps campaign application and details skeleton (Epic #1842) #2316

Workflow file for this run

name: Next.js build
on:
workflow_dispatch:
pull_request:
branches: [master]
jobs:
build-codebase:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
with:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
**/.next/cache
key: ${{ runner.os }}-build-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-yarn-
- name: Install dependencies
run: yarn install --immutable
- name: Build frontend
run: |
cp .env.local.example .env.local
yarn build