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:
|
||||
workflow_call:
|
||||
inputs:
|
||||
dry-run-release:
|
||||
description: 'enable dry-run on artifact push'
|
||||
required: false
|
||||
type: boolean
|
||||
default: 'true'
|
||||
|
||||
pull_request:
|
||||
types: [closed]
|
||||
branches:
|
||||
@@ -69,15 +76,11 @@ jobs:
|
||||
- run: git fetch --all
|
||||
- uses: ./.github/actions/setup
|
||||
with:
|
||||
enable-cache: false
|
||||
- name: clean
|
||||
run: |
|
||||
rm -rf nxcache
|
||||
rm -rf dist
|
||||
- run: nx run cli:bundle
|
||||
enable-cache: false
|
||||
- run: $(npm bin)/nx run cli:bundle
|
||||
- name: push Demoshell docker image
|
||||
run: |
|
||||
nx build demoshell --configuration production
|
||||
$(npm bin)/nx build demoshell --configuration production
|
||||
. ./scripts/travis/release/docker-tag.sh
|
||||
echo $TAGS
|
||||
./scripts/travis/release/release-demoshell-docker.sh
|
||||
@@ -95,10 +98,10 @@ jobs:
|
||||
- uses: ./.github/actions/setup
|
||||
with:
|
||||
enable-cache: false
|
||||
- run: nx run cli:bundle
|
||||
- run: $(npm bin)/nx run cli:bundle
|
||||
- name: push Storybook docker image
|
||||
run: |
|
||||
nx run stories:build-storybook --configuration ci
|
||||
$(npm bin)/nx run stories:build-storybook --configuration ci
|
||||
. ./scripts/travis/release/docker-tag.sh
|
||||
echo $TAGS
|
||||
./scripts/travis/release/release-storybook-docker.sh
|
||||
@@ -116,13 +119,13 @@ jobs:
|
||||
- uses: ./.github/actions/setup
|
||||
with:
|
||||
enable-cache: false
|
||||
- run: nx run cli:bundle
|
||||
- name: nx build
|
||||
- run: $(npm bin)/nx run cli:bundle
|
||||
- name: $(npm bin)/nx build
|
||||
run: |
|
||||
set -u;
|
||||
./scripts/travis/build/bumpversion.sh
|
||||
nx affected:build $NX_CALCULATION_FLAGS --prod --exclude="demoshell"
|
||||
nx affected $NX_CALCULATION_FLAGS --target=pretheme
|
||||
$(npm bin)/nx affected:build $NX_CALCULATION_FLAGS --prod --exclude="demoshell"
|
||||
$(npm bin)/nx affected $NX_CALCULATION_FLAGS --target=pretheme
|
||||
- name: release
|
||||
run: ./scripts/travis/release/release-npm.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user