Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
fionnachan committed Aug 2, 2023
1 parent 8313561 commit ffb2301
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/main.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
defaults:
run:
Expand All @@ -20,6 +20,19 @@ jobs:
- name: Install node_modules
uses: OffchainLabs/actions/node-modules/install@main

- name: Check formatting with Prettier
check-formatting:
name: "Check Formatting"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./website
needs: install
steps:
- name: Checkout files
uses: actions/checkout@v3

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

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

0 comments on commit ffb2301

Please sign in to comment.