Files
alfresco-content-app/.github/actions/publish-libs/action.yml
dependabot[bot] bc46fe8923 build(deps): Bump actions/setup-node (#5318)
Bumps the github-actions group in /.github/actions/publish-libs with 1 update: [actions/setup-node](https://github.com/actions/setup-node).


Updates `actions/setup-node` from 6 to 7
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-03 09:18:21 +02:00

61 lines
1.5 KiB
YAML

name: "Publish ACA libs to NPM and GH registry"
description: "Publish ACA libs to NPM and GH registry"
inputs:
branch_name:
description: 'Name of the branch the workflow runs on'
required: true
github_token:
description: 'Github token'
required: true
npm_tag:
description: 'NPM tag'
required: true
dry-run:
description: dry run flag
required: true
runs:
using: "composite"
steps:
- uses: ./.github/actions/update-library-versions
name: Update Library Versions
with:
branch_name: ${{ env.BRANCH_NAME }}
dry-run: ${{ inputs.dry-run }}
- name: Build Libraries
shell: bash
run: |
npm ci
npm run ci:build:many
- uses: actions/setup-node@v7
name: setup GH registry
with:
node-version-file: '.nvmrc'
registry-url: 'https://npm.pkg.github.com'
scope: '@alfresco'
- name: Publish to GH registry
shell: bash
run: ${{ github.action_path }}/npm-publish.sh "$TAG" "$DRY_RUN"
env:
NODE_AUTH_TOKEN: ${{ inputs.github_token }}
TAG: ${{ inputs.npm_tag }}
DRY_RUN: ${{ inputs.dry-run }}
- uses: actions/setup-node@v7
name: setup NPM registry
with:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
scope: '@alfresco'
- name: Publish to NPM registry
shell: bash
run: ${{ github.action_path }}/npm-publish.sh "$TAG" "$DRY_RUN"
env:
TAG: ${{ inputs.npm_tag }}
DRY_RUN: ${{ inputs.dry-run }}