Free and Open source Web Builder Framework. Next generation tool for building templates without coding
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

29 lines
764 B

name: Setup Project
description: 'Sets up the project by installing dependencies and building the project.'
inputs:
pnpm-version:
description: 'The version of pnpm to use for installing dependencies.'
required: false
default: 9.10.0
node-version:
description: 'The version of Node.js to use for building the project.'
required: false
default: '20.16.0'
runs:
using: composite
steps:
- uses: pnpm/action-setup@v4
with:
version: ${{ inputs.pnpm-version }}
- uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
shell: bash
- name: Build project
run: pnpm build
shell: bash