mirror of
https://github.com/pezkuwichain/bizinikiwi-connect.git
synced 2026-04-22 00:47:54 +00:00
27 lines
736 B
YAML
27 lines
736 B
YAML
name: Turbo build
|
|
inputs:
|
|
node-version:
|
|
description: Node version
|
|
required: true
|
|
default: 22.x
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Cache turbo build setup
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: .turbo
|
|
key: ${{ runner.os }}-turbo-${{ inputs.node-version }}-build-${{ github.sha }}
|
|
restore-keys: |
|
|
${{ runner.os }}-turbo-${{ inputs.node-version }}-build-
|
|
- uses: pnpm/action-setup@v2
|
|
- name: Use Node.js ${{ inputs.node-version }}
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ inputs.node-version }}
|
|
cache: pnpm
|
|
- run: pnpm install
|
|
shell: bash
|
|
- run: pnpm turbo build test lint --cache-dir=.turbo
|
|
shell: bash
|
|
|