bolt.diy/.github/actions/setup-and-build/action.yaml
KevIsDev bffb8a2a90
Some checks failed
Docker Publish / docker-build-publish (push) Has been cancelled
Update Stable Branch / prepare-release (push) Has been cancelled
Revert "Merge pull request #1335 from Toddyclipsgg/diff-view-v2"
This reverts commit 871aefbe83, reversing
changes made to 8c72ed76b3.
2025-02-21 15:01:09 +00:00

33 lines
671 B
YAML

name: Setup and Build
description: Generic setup action
inputs:
pnpm-version:
required: false
type: string
default: '9.4.0'
node-version:
required: false
type: string
default: '20.15.1'
runs:
using: composite
steps:
- uses: pnpm/action-setup@v4
with:
version: ${{ inputs.pnpm-version }}
run_install: false
- name: Set Node.js version to ${{ inputs.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: pnpm
- name: Install dependencies and build project
shell: bash
run: |
pnpm install
pnpm run build