Skip to content

Commit dd6d592

Browse files
committed
ci(website): Add a job to verify the formatting
Signed-off-by: Martin Nonnenmacher <[email protected]>
1 parent 80cbf4d commit dd6d592

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/static-analysis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,22 @@ jobs:
9696
run: |
9797
npm install -g [email protected]
9898
npx markdownlint-cli2
99+
prettier-website:
100+
runs-on: ubuntu-24.04
101+
steps:
102+
- name: Checkout Repository
103+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
104+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
105+
with:
106+
node-version: 22
107+
cache: npm
108+
cache-dependency-path: website/package-lock.json
109+
- name: Install dependencies
110+
run: npm ci
111+
working-directory: website
112+
- name: Run Prettier
113+
run: npm run format:check
114+
working-directory: website
99115
qodana-scan:
100116
if: ${{ github.event_name == 'pull_request' }}
101117
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)