Fetch metadata via RPC instead of relying on the Friendbot response #152
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Formatting | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
# Workaround for some `yarn` nonsense, see: | |
# https://github.com/yarnpkg/yarn/issues/6312#issuecomment-429685210 | |
- name: Install Dependencies | |
run: yarn install --network-concurrency 1 | |
- name: Run Linter Checks | |
run: yarn _prettier && (git diff-index --quiet HEAD; git diff) |