ci: disable postinstall on macOS build (#4885)

This commit is contained in:
LongYinan
2023-11-09 19:58:55 +08:00
committed by GitHub
parent af72bf0f69
commit 839f500979
5 changed files with 17 additions and 4 deletions

View File

@@ -32,6 +32,10 @@ inputs:
nmHoistingLimits:
description: 'Set nmHoistingLimits in .yarnrc.yml'
required: false
enableScripts:
description: 'Set enableScripts in .yarnrc.yml'
required: false
default: 'true'
runs:
using: 'composite'
@@ -54,6 +58,11 @@ runs:
shell: bash
run: yarn config set nmHoistingLimits ${{ inputs.nmHoistingLimits }}
- name: Set enableScripts
if: ${{ inputs.enableScripts == 'false' }}
shell: bash
run: yarn config set enableScripts false
- name: yarn install
if: ${{ inputs.package-install == 'true' }}
continue-on-error: true