mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
* [ACS-9102] Local ACS deployment draft * [ACS-9102] Move ACS deployment to composite action * [ACS-9102] Remove obsolete checks * [ACS-9102] Proper secrets for ACS deployment * [ACS-9102] Add required shell property * [ACS-9102] Use fixed acs deployment version * [ACS-9102] Proper acs deployment tag * [ACS-9102] Add required shell property * [ACS-9102] Fix helm install params * [ACS-9102] Remove obsolete checkout * [ACS-9102] Use more powerful runner for E2Es * [ACS-9102] Introduce temp secrets * test curl localhost * skip n-1 matrix jobs * test ipv4 first * [ACS-9102] Adjust Playwright E2E host * [ACS-9102] Bring back matrix job * disable unnecessary acs components * debug ingress after tests run * [ACS-9102] Fix folder-rules test suite * [ACS-9102] Fix part of viewer test suite * [ACS-9102] Additional E2E fixes * [ACS-9102] fixes for e2es -> empty-list and search * [ACS-9102] more fixes for e2es and github actions artifacts added for easier debugging * [ACS-9102] removed artifacts from GHA * print all logs * [ACS-9102] Remove outdated secrets * [ACS-9102] Remove after-e2e action * do not wait for reindexing * test on latest runner * Always debug ingress logs * avoid sleep waiting for app startup * cleanup unnecessary action input type * fixup indent * test with latest acs alpha * Revert "do not wait for reindexing" This reverts commit 86ca54de33a6b5bf1da65202caac5798b5f88d51. * [ACS-9102] Exclude unstable test cases * [ACS-9102] Exclude unstable test cases * [ACS-9102] Exclude unstable test cases --------- Co-authored-by: Giovanni Toraldo <giovanni.toraldo@hyland.com> Co-authored-by: Adam Świderski <adam.tomasz.swiderski@gmail.com>
63 lines
1.7 KiB
YAML
63 lines
1.7 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_registry_token:
|
|
description: 'NPM registry 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 && npx nx run-many --target=build
|
|
|
|
- uses: actions/setup-node@v4
|
|
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@v4
|
|
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:
|
|
NODE_AUTH_TOKEN: ${{ inputs.npm_registry_token }}
|
|
TAG: ${{ inputs.npm_tag }}
|
|
DRY_RUN: ${{ inputs.dry-run }}
|