diff --git a/.github/workflows/solidity.yml b/.github/workflows/solidity.yml index 9b17b75df3e..0e7ff30545d 100644 --- a/.github/workflows/solidity.yml +++ b/.github/workflows/solidity.yml @@ -120,17 +120,19 @@ jobs: run: working-directory: contracts needs: [changes] - if: needs.changes.outputs.changes == 'true' name: Prettier Formatting runs-on: ubuntu-latest steps: - name: Checkout the repo uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - name: Setup NodeJS + if: needs.changes.outputs.changes == 'true' uses: ./.github/actions/setup-nodejs - name: Run prettier check + if: needs.changes.outputs.changes == 'true' run: pnpm prettier:check - name: Collect Metrics + if: needs.changes.outputs.changes == 'true' id: collect-gha-metrics uses: smartcontractkit/push-gha-metrics-action@d2c2b7bdc9012651230b2608a1bcb0c48538b6ec with: