Skip to content

Commit

Permalink
feat(release): Add prettier to format release files 💅
Browse files Browse the repository at this point in the history
Rationale: usually all files are formatted before release but this is not possibile with files that contains EJS syntax, like the devcontainer.json.
  • Loading branch information
gremo committed Jul 4, 2023
1 parent 418f21a commit d078ef9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ jobs:
- name: Delete using .distignore
run: xargs rm -rf < .distignore

- name: Prettier
if: matrix.vsconfig
uses: actionsx/prettier@v2
with:
args: --write .

- name: Create archive
run: |
zip -z -r9 ${{ matrix.filename }} . <<END
Expand Down

0 comments on commit d078ef9

Please sign in to comment.