Skip to content

Commit

Permalink
Add install step on formatting CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TucksonDev committed Jan 23, 2025
1 parent 53fc064 commit 7aab28e
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
- master

jobs:
check-formatting:
name: 'Check Formatting'
install:
name: "Install"
runs-on: ubuntu-latest
steps:
- name: Checkout files
Expand All @@ -17,5 +17,16 @@ jobs:
- name: Install node_modules
uses: OffchainLabs/actions/node-modules/install@main

check-formatting:
name: 'Check Formatting'
runs-on: ubuntu-latest
needs: install
steps:
- name: Checkout files
uses: actions/checkout@v4

- name: Restore node_modules
uses: OffchainLabs/actions/node-modules/restore@main

- name: Check formatting with Prettier
run: yarn prettier:format
run: yarn prettier:format

0 comments on commit 7aab28e

Please sign in to comment.