mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
devel: pipe. nx debug
This commit is contained in:
@@ -2,6 +2,13 @@ name: "release"
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
dry-run-release:
|
||||||
|
description: 'enable dry-run on artifact push'
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: 'true'
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [closed]
|
types: [closed]
|
||||||
branches:
|
branches:
|
||||||
@@ -69,15 +76,11 @@ jobs:
|
|||||||
- run: git fetch --all
|
- run: git fetch --all
|
||||||
- uses: ./.github/actions/setup
|
- uses: ./.github/actions/setup
|
||||||
with:
|
with:
|
||||||
enable-cache: false
|
enable-cache: false
|
||||||
- name: clean
|
- run: $(npm bin)/nx run cli:bundle
|
||||||
run: |
|
|
||||||
rm -rf nxcache
|
|
||||||
rm -rf dist
|
|
||||||
- run: nx run cli:bundle
|
|
||||||
- name: push Demoshell docker image
|
- name: push Demoshell docker image
|
||||||
run: |
|
run: |
|
||||||
nx build demoshell --configuration production
|
$(npm bin)/nx build demoshell --configuration production
|
||||||
. ./scripts/travis/release/docker-tag.sh
|
. ./scripts/travis/release/docker-tag.sh
|
||||||
echo $TAGS
|
echo $TAGS
|
||||||
./scripts/travis/release/release-demoshell-docker.sh
|
./scripts/travis/release/release-demoshell-docker.sh
|
||||||
@@ -95,10 +98,10 @@ jobs:
|
|||||||
- uses: ./.github/actions/setup
|
- uses: ./.github/actions/setup
|
||||||
with:
|
with:
|
||||||
enable-cache: false
|
enable-cache: false
|
||||||
- run: nx run cli:bundle
|
- run: $(npm bin)/nx run cli:bundle
|
||||||
- name: push Storybook docker image
|
- name: push Storybook docker image
|
||||||
run: |
|
run: |
|
||||||
nx run stories:build-storybook --configuration ci
|
$(npm bin)/nx run stories:build-storybook --configuration ci
|
||||||
. ./scripts/travis/release/docker-tag.sh
|
. ./scripts/travis/release/docker-tag.sh
|
||||||
echo $TAGS
|
echo $TAGS
|
||||||
./scripts/travis/release/release-storybook-docker.sh
|
./scripts/travis/release/release-storybook-docker.sh
|
||||||
@@ -116,13 +119,13 @@ jobs:
|
|||||||
- uses: ./.github/actions/setup
|
- uses: ./.github/actions/setup
|
||||||
with:
|
with:
|
||||||
enable-cache: false
|
enable-cache: false
|
||||||
- run: nx run cli:bundle
|
- run: $(npm bin)/nx run cli:bundle
|
||||||
- name: nx build
|
- name: $(npm bin)/nx build
|
||||||
run: |
|
run: |
|
||||||
set -u;
|
set -u;
|
||||||
./scripts/travis/build/bumpversion.sh
|
./scripts/travis/build/bumpversion.sh
|
||||||
nx affected:build $NX_CALCULATION_FLAGS --prod --exclude="demoshell"
|
$(npm bin)/nx affected:build $NX_CALCULATION_FLAGS --prod --exclude="demoshell"
|
||||||
nx affected $NX_CALCULATION_FLAGS --target=pretheme
|
$(npm bin)/nx affected $NX_CALCULATION_FLAGS --target=pretheme
|
||||||
- name: release
|
- name: release
|
||||||
run: ./scripts/travis/release/release-npm.sh
|
run: ./scripts/travis/release/release-npm.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user