devel: pipe. nx debug

This commit is contained in:
Marco Carrozzo
2022-12-15 17:12:34 +01:00
parent 4d6f9f5233
commit 05acea493e
+14 -11
View File
@@ -77,11 +77,12 @@ jobs:
- uses: ./.github/actions/setup - uses: ./.github/actions/setup
with: with:
enable-cache: false enable-cache: false
- run: npm ci - name: install nx
- run: $(npm bin)/nx run cli:bundle run: npm ci
- run: nx run cli:bundle
- name: push Demoshell docker image - name: push Demoshell docker image
run: | run: |
$(npm bin)/nx build demoshell --configuration production 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
@@ -99,11 +100,12 @@ jobs:
- uses: ./.github/actions/setup - uses: ./.github/actions/setup
with: with:
enable-cache: false enable-cache: false
- run: npm ci - name: install nx
- run: $(npm bin)/nx run cli:bundle run: npm ci
- run: nx run cli:bundle
- name: push Storybook docker image - name: push Storybook docker image
run: | run: |
$(npm bin)/nx run stories:build-storybook --configuration ci 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
@@ -121,14 +123,15 @@ jobs:
- uses: ./.github/actions/setup - uses: ./.github/actions/setup
with: with:
enable-cache: false enable-cache: false
- run: npm ci - name: install nx
- run: $(npm bin)/nx run cli:bundle run: npm ci
- name: $(npm bin)/nx build - run: nx run cli:bundle
- name: nx build
run: | run: |
set -u; set -u;
./scripts/travis/build/bumpversion.sh ./scripts/travis/build/bumpversion.sh
$(npm bin)/nx affected:build $NX_CALCULATION_FLAGS --prod --exclude="demoshell" nx affected:build $NX_CALCULATION_FLAGS --prod --exclude="demoshell"
$(npm bin)/nx affected $NX_CALCULATION_FLAGS --target=pretheme 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