mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-11 09:51:30 +00:00
38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
name: 'Setup Node Dependencies'
|
|
description: 'Install Node.js and npm dependencies'
|
|
inputs:
|
|
skip-build:
|
|
description: 'Skip building libraries'
|
|
required: false
|
|
default: 'false'
|
|
shell:
|
|
description: 'Shell to use (bash, pwsh)'
|
|
required: false
|
|
default: 'bash'
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: v22.17.0
|
|
cache: 'npm'
|
|
cache-dependency-path: './package-lock.json'
|
|
|
|
- name: Install node dependencies
|
|
shell: ${{ inputs.shell }}
|
|
run: npm ci --legacy-peer-deps
|
|
|
|
- name: Build libraries
|
|
if: inputs.skip-build != 'true'
|
|
shell: ${{ inputs.shell }}
|
|
run: |
|
|
npm run build:graphql-docs
|
|
npm run build:bruno-query
|
|
npm run build:bruno-common
|
|
npm run sandbox:bundle-libraries --workspace=packages/bruno-js
|
|
npm run build:bruno-converters
|
|
npm run build:bruno-requests
|
|
npm run build:schema-types
|
|
npm run build:bruno-filestore
|