mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
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:
6
.github/workflows/contracts.yml
vendored
6
.github/workflows/contracts.yml
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user