Skip to content

Commit

Permalink
RE-3058 Adding lint step to the MD docs sync GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
njegosrailic committed Oct 4, 2024
1 parent ef77174 commit 25efa04
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/gorgeous-months-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"md-confluence-sync": patch
---

Adding lint step based on prettier
6 changes: 6 additions & 0 deletions actions/md-confluence-sync/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ runs:
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}

- name: Lint MD files using Prettier
uses: smartcontractkit/.github/actions/ci-prettier@aae9a00d6c15d5e9b9dae731c3eec983b6aa7fe3 # [email protected]
with:
checkout-repo: "false"
command: pnpm prettier --check ${{ inputs.files }}

- name: Setup tools
shell: bash
run: |
Expand Down
Empty file modified actions/md-confluence-sync/mark-sync.sh
100644 → 100755
Empty file.

0 comments on commit 25efa04

Please sign in to comment.