formhero/.github/action/build/action.yaml

23 lines
458 B
YAML
Raw Normal View History

2023-03-03 22:36:55 +00:00
name: "Build"
description: "Build the project."
inputs:
runs:
using: "composite" # This is the magic
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
registry-url: https://registry.npmjs.org/
- run: pnpm install --frozen-lockfile
shell: bash
- run: pnpm run build
shell: bash