mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-02 17:53:30 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.2 to 7.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/de0fac2e4500dabe0009e67214ff5f5447ce83dd...9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
name: "Build Lib Workflow"
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
base_ref:
|
|
description: 'Base branch for affected calculation'
|
|
required: false
|
|
type: string
|
|
default: 'develop'
|
|
|
|
env:
|
|
NODE_OPTIONS: "--max-old-space-size=5120"
|
|
|
|
jobs:
|
|
build:
|
|
name: "Build affected libs"
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Setup environment
|
|
id: setup-env
|
|
uses: ./.github/actions/setup
|
|
with:
|
|
cache-suffix: build
|
|
full-setup: 'false'
|
|
- name: Build affected libs
|
|
env:
|
|
BASE_REF: ${{ inputs.base_ref }}
|
|
run: pnpm nx affected --target=build --base=origin/$BASE_REF --head=HEAD --configuration=production --exclude=stories
|
|
- name: Save nx cache
|
|
if: ${{ success() }}
|
|
uses: ./.github/actions/save-nx-cache
|
|
with:
|
|
cache-suffix: build
|