diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 663e345..17b2d83 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -7,8 +7,8 @@ on: - master jobs: - check-formatting: - name: 'Check Formatting' + install: + name: "Install" runs-on: ubuntu-latest steps: - name: Checkout files @@ -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 \ No newline at end of file