From fab9ea0772cc536238ae4bd36fc938bfcf7ef27f Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Fri, 15 Sep 2023 12:41:45 +0700 Subject: [PATCH] ci("PR Documentation and Storybook"): delete "HAS_PLASMA_WEBSITE" flag --- .github/processing-scope.js | 5 +---- .github/workflows/change-detection.yml | 5 ----- .github/workflows/documentation-pr.yml | 1 - 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/processing-scope.js b/.github/processing-scope.js index e69a44e350..2ce556a4d7 100644 --- a/.github/processing-scope.js +++ b/.github/processing-scope.js @@ -35,15 +35,13 @@ module.exports = () => { const HAS_PLASMA_UI_DOCS = packagesList.includes('@salutejs/plasma-ui-docs'); const HAS_PLASMA_WEB_DOCS = packagesList.includes('@salutejs/plasma-web-docs'); const HAS_PLASMA_TEMPLE_DOCS = packagesList.includes('@salutejs/plasma-temple-docs'); - const HAS_PLASMA_WEBSITE = packagesList.includes('@salutejs/plasma-website'); const HAS_PLASMA_UI = packagesList.includes('@salutejs/plasma-ui'); const HAS_PLASMA_WEB = packagesList.includes('@salutejs/plasma-web'); const HAS_PLASMA_B2C = packagesList.includes('@salutejs/plasma-b2c'); const HAS_PLASMA_TEMPLE = packagesList.includes('@salutejs/plasma-temple'); - const HAS_DOCUMENTATION_CHANGED = - HAS_PLASMA_UI_DOCS || HAS_PLASMA_WEB_DOCS || HAS_PLASMA_TEMPLE_DOCS || HAS_PLASMA_WEBSITE; + const HAS_DOCUMENTATION_CHANGED = HAS_PLASMA_UI_DOCS || HAS_PLASMA_WEB_DOCS || HAS_PLASMA_TEMPLE_DOCS; /** * List short packages name @@ -70,7 +68,6 @@ module.exports = () => { HAS_PLASMA_UI_DOCS, HAS_PLASMA_WEB_DOCS, HAS_PLASMA_TEMPLE_DOCS, - HAS_PLASMA_WEBSITE, HAS_PLASMA_UI, HAS_PLASMA_WEB, HAS_PLASMA_B2C, diff --git a/.github/workflows/change-detection.yml b/.github/workflows/change-detection.yml index 6ad734bdc8..255543329f 100644 --- a/.github/workflows/change-detection.yml +++ b/.github/workflows/change-detection.yml @@ -30,9 +30,6 @@ on: HAS_PLASMA_TEMPLE_DOCS: description: "" value: ${{ jobs.run.outputs.HAS_PLASMA_TEMPLE_DOCS }} - HAS_PLASMA_WEBSITE: - description: "" - value: ${{ jobs.run.outputs.HAS_PLASMA_WEBSITE }} HAS_PLASMA_UI: description: "" value: ${{ jobs.run.outputs.HAS_PLASMA_UI }} @@ -58,7 +55,6 @@ jobs: HAS_PLASMA_UI_DOCS: ${{ steps.set-output.outputs.HAS_PLASMA_UI_DOCS }} HAS_PLASMA_WEB_DOCS: ${{ steps.set-output.outputs.HAS_PLASMA_WEB_DOCS }} HAS_PLASMA_TEMPLE_DOCS: ${{ steps.set-output.outputs.HAS_PLASMA_TEMPLE_DOCS }} - HAS_PLASMA_WEBSITE: ${{ steps.set-output.outputs.HAS_PLASMA_WEBSITE }} HAS_PLASMA_TEMPLE: ${{ steps.set-output.outputs.HAS_PLASMA_TEMPLE }} HAS_PLASMA_B2C: ${{ steps.set-output.outputs.HAS_PLASMA_B2C }} HAS_PLASMA_WEB: ${{ steps.set-output.outputs.HAS_PLASMA_WEB }} @@ -104,7 +100,6 @@ jobs: echo "HAS_PLASMA_UI_DOCS=${{ fromJSON(steps.scope.outputs.result).HAS_PLASMA_UI_DOCS }}" >> $GITHUB_OUTPUT echo "HAS_PLASMA_WEB_DOCS=${{ fromJSON(steps.scope.outputs.result).HAS_PLASMA_WEB_DOCS }}" >> $GITHUB_OUTPUT echo "HAS_PLASMA_TEMPLE_DOCS=${{ fromJSON(steps.scope.outputs.result).HAS_PLASMA_TEMPLE_DOCS }}" >> $GITHUB_OUTPUT - echo "HAS_PLASMA_WEBSITE=${{ fromJSON(steps.scope.outputs.result).HAS_PLASMA_WEBSITE }}" >> $GITHUB_OUTPUT echo "HAS_DOCUMENTATION_CHANGED=${{ fromJSON(steps.scope.outputs.result).HAS_DOCUMENTATION_CHANGED }}" >> $GITHUB_OUTPUT echo "HAS_PLASMA_TEMPLE=${{ fromJSON(steps.scope.outputs.result).HAS_PLASMA_TEMPLE }}" >> $GITHUB_OUTPUT echo "HAS_PLASMA_B2C=${{ fromJSON(steps.scope.outputs.result).HAS_PLASMA_B2C }}" >> $GITHUB_OUTPUT diff --git a/.github/workflows/documentation-pr.yml b/.github/workflows/documentation-pr.yml index 92e84db945..d37d4ac6a8 100644 --- a/.github/workflows/documentation-pr.yml +++ b/.github/workflows/documentation-pr.yml @@ -90,7 +90,6 @@ jobs: # TODO: https://github.com/salute-developers/plasma/issues/603 - name: Plasma Website - if: ${{ needs.scope.outputs.HAS_PLASMA_WEBSITE == 'true' }} run: | export NODE_OPTIONS=--openssl-legacy-provider npm run build --prefix="./website/plasma-website"