Skip to content

dog food

dog food #2

Workflow file for this run

name: pull_request
on:
pull_request:
workflow_dispatch:
inputs:
branch:
description: 'Branch to run workflow on'
required: true
default: 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # prevent shallow clone
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18' # Specify the Node.js version as needed
cache: 'pnpm' # Optional: caches dependencies
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Build application
run: pnpm run build