mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-30 03:03:06 -05:00
feat(tools): automatically lowercase directories (#53729)
This commit is contained in:
@@ -328,6 +328,14 @@ jobs:
|
||||
sudo chown -R $(whoami): client/i18n/locales
|
||||
npx --yes prettier --write client/i18n/locales/**/*.json
|
||||
|
||||
###### Lowercase directory names #####
|
||||
|
||||
- name: Lowercase Directories
|
||||
uses: freecodecamp/crowdin-action@main
|
||||
env:
|
||||
PLUGIN: 'lowercase-directories'
|
||||
FILE_PATH: 'client/i18n/locales'
|
||||
# Crowdin translators might have the directories
|
||||
# Create Commit
|
||||
- name: Commit Changes
|
||||
uses: freecodecamp/crowdin-action@main
|
||||
|
||||
@@ -362,6 +362,13 @@ jobs:
|
||||
pnpm run build:server
|
||||
|
||||
# We do not need to run tests because they are run after the PR is created.
|
||||
###### Lowercase directory names #####
|
||||
|
||||
- name: Lowercase Directories
|
||||
uses: freecodecamp/crowdin-action@main
|
||||
env:
|
||||
PLUGIN: 'lowercase-directories'
|
||||
FILE_PATH: 'curriculum/challenges'
|
||||
|
||||
- name: Overwrite Execute-Brain.md
|
||||
run: sudo tools/scripts/move-bf.sh
|
||||
|
||||
Reference in New Issue
Block a user