mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[AAE-11822] fix demoshell and gh act. release
* fixed release * remove demoshell build from job:build
This commit is contained in:
parent
d6e97a672c
commit
d29ec85b19
28
.github/workflows/release.yml
vendored
28
.github/workflows/release.yml
vendored
@ -54,7 +54,29 @@ env:
|
|||||||
NODE_OPTIONS: "--max-old-space-size=5120"
|
NODE_OPTIONS: "--max-old-space-size=5120"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
build:
|
||||||
|
timeout-minutes: 20
|
||||||
|
if: github.event.pull_request.merged == true
|
||||||
|
name: "Build Components"
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- uses: ./.github/actions/setup
|
||||||
|
- run: npm -v
|
||||||
|
- name: install
|
||||||
|
run: |
|
||||||
|
npm ci
|
||||||
|
nx run cli:bundle
|
||||||
|
nx run testing:bundle
|
||||||
|
- run: npx nx affected --target=lint $NX_CALCULATION_FLAGS
|
||||||
|
- run: nx affected:build $NX_CALCULATION_FLAGS --prod --exclude="demoshell"
|
||||||
|
- uses: ./.github/actions/upload-build-artifacts
|
||||||
|
|
||||||
release-demoshell:
|
release-demoshell:
|
||||||
|
needs: [release-npm]
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
if: github.event.pull_request.merged == true
|
if: github.event.pull_request.merged == true
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
@ -79,6 +101,7 @@ jobs:
|
|||||||
./scripts/travis/release/release-demoshell-docker.sh
|
./scripts/travis/release/release-demoshell-docker.sh
|
||||||
|
|
||||||
release-storybook:
|
release-storybook:
|
||||||
|
needs: [release-npm]
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
if: github.event.pull_request.merged == true
|
if: github.event.pull_request.merged == true
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
@ -101,7 +124,8 @@ jobs:
|
|||||||
echo $TAGS
|
echo $TAGS
|
||||||
./scripts/travis/release/release-storybook-docker.sh
|
./scripts/travis/release/release-storybook-docker.sh
|
||||||
|
|
||||||
npm-release:
|
release-npm:
|
||||||
|
needs: [build]
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
if: github.event.pull_request.merged == true
|
if: github.event.pull_request.merged == true
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
@ -127,7 +151,7 @@ jobs:
|
|||||||
run: ./scripts/travis/release/release-npm.sh
|
run: ./scripts/travis/release/release-npm.sh
|
||||||
|
|
||||||
npm-check-bundle:
|
npm-check-bundle:
|
||||||
needs: [npm-release]
|
needs: [release-npm]
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
if: github.event.pull_request.merged == true
|
if: github.event.pull_request.merged == true
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
Loading…
x
Reference in New Issue
Block a user