Skip to content

We are verifying that everything is in order πŸš€ #9

We are verifying that everything is in order πŸš€

We are verifying that everything is in order πŸš€ #9

Workflow file for this run

name: Format and check broken links
run-name: We are verifying that everything is in order πŸš€
on:
pull_request:
branches:
- master
jobs:
install:
name: "Install"
runs-on: ubuntu-latest
steps:
- name: Checkout files
uses: actions/checkout@v3
- name: Install node_modules
uses: OffchainLabs/actions/node-modules/install@main
with:
install-command: cd website && yarn install --frozen-lockfile
cache-key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
check-formatting:
name: "Check Formatting"
runs-on: ubuntu-latest
needs: install
steps:
- name: Checkout files
uses: actions/checkout@v3
- name: Restore node_modules
uses: OffchainLabs/actions/node-modules/restore@main
with:
cache-key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Check formatting with Prettier
working-directory: ./website
run: yarn format:check