ci: add prettier check for contract sdk (#602)

* Add Prettier check for code formatting in contracts workflow

* Update contracts workflow: remove unused checkout action and fix build step name

* Run formatter

* Run lint fix
This commit is contained in:
Kevin Lin
2025-06-28 07:30:29 +08:00
committed by GitHub
parent d6e97a7caf
commit 66c3df7fcb
13 changed files with 216 additions and 207 deletions

View File

@@ -26,12 +26,14 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
- uses: actions/checkout@v4
- name: Install Dependencies
uses: ./.github/actions/yarn-install
- name: Prettier Check - Code Formatting
run: yarn prettier:check
working-directory: ./contracts
- name: Build Common Dependencies
run: yarn workspace @selfxyz/common build
- name: Build Contracts)
- name: Build Contracts
run: yarn build
working-directory: ./contracts
- name: Run Tests (Contracts)