We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 808798b commit 3e52857Copy full SHA for 3e52857
.github/workflows/packaging.yml
@@ -106,12 +106,14 @@ jobs:
106
--version-number "$VERSION_NUMBER" \
107
--wait 29
108
109
- # Note: Packaging updates sfdx-project.json, but the formatting is often non-compliant
110
- # This action updates the changed project files to their original format
111
- name: Run Prettier
112
- uses: creyD/prettier_action@v4.6
113
- with:
114
- prettier_options: --write **/*.{json}
+ shell: bash
+ run: |
+ # Packaging causes project file's formatting to be overwritten
+ # Before committing, re-run prettier on these files:
+ npm i prettier
115
+ prettier -w sfdx-project.json
116
+ prettier -w tmp/sfdx-project.json
117
118
- name: Cleanup
119
shell: bash
0 commit comments