Skip to content

Commit

Permalink
ci(global): INFRA-648 fixed env passing
Browse files Browse the repository at this point in the history
  • Loading branch information
SavelevMatthew committed Nov 25, 2024
1 parent ece9242 commit 8014b3e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/nodejs.condo.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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}
Expand Down

0 comments on commit 8014b3e

Please sign in to comment.