Skip to content

Feat/generate social sharing image #17

Feat/generate social sharing image

Feat/generate social sharing image #17

Workflow file for this run

name: Build
on:
pull_request:
branches: [main] # Trigger on pull requests to the main branch
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Allow only one concurrent build, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production builds to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "pnpm"
- name: Install Dependencies
run: pnpm install
- name: Run Prebuild Script
run: pnpm prebuild
- name: Build the Project
env:
NODE_ENV: "production"
run: pnpm build