From 8014b3e6e4a7aa4fade23c5dc5bcae359c401564 Mon Sep 17 00:00:00 2001 From: SavelevMatthew Date: Tue, 5 Nov 2024 22:09:59 +0500 Subject: [PATCH] ci(global): INFRA-648 fixed env passing --- .github/workflows/nodejs.condo.ci.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/nodejs.condo.ci.yml b/.github/workflows/nodejs.condo.ci.yml index 200fd441448..da347ba7cba 100644 --- a/.github/workflows/nodejs.condo.ci.yml +++ b/.github/workflows/nodejs.condo.ci.yml @@ -168,14 +168,6 @@ jobs: with: files: | **/*.{js,ts,jsx,tsx,cjs,cts,mjs,mts} - - name: List all changed files - env: - ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} - run: | - for file in ${ALL_CHANGED_FILES}; do - echo "$file was changed" - done - echo "List all the files that have changed: $ALL_CHANGED_FILES" - name: Prepare Node environment uses: actions/setup-node@v3 with: @@ -188,6 +180,8 @@ jobs: run: | yarn lint:code - name: Check strict JS code-style rules on changed files + env: + ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} run: | if [ -n "${ALL_CHANGED_FILES}" ]; then yarn lint:strict ${ALL_CHANGED_FILES}