Skip to content

Commit

Permalink
RE-3058 Adding lint step to the MD docs sync GHA (#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
njegosrailic authored Oct 4, 2024
1 parent 0fd9be2 commit f577357
Show file tree
Hide file tree
Showing 2 changed files with 15 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
10 changes: 10 additions & 0 deletions actions/md-confluence-sync/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ runs:
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}

- name: Lint MD files using Prettier
uses: smartcontractkit/.github/actions/ci-prettier@a738d4cfa4826d6f44dbebcc3724385f6de58d42 # v0.1.1
with:
basic-auth: ${{ inputs.gc-basic-auth }}
checkout-repo: "false"
gc-host: ${{ inputs.gc-host }}
gc-org-id: ${{ inputs.gc-org-id}}
prettier-command: pnpm prettier --check ${{ inputs.files }}/**/*.md
this-job-name: ${{ inputs.metrics-job-name }}

- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2

Expand Down

0 comments on commit f577357

Please sign in to comment.