Skip to content

Switch CI to Sepolia #126

Switch CI to Sepolia

Switch CI to Sepolia #126

Workflow file for this run

name: Code Format Checks
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
code-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "yarn"
# We need this step because the `@keep-network/tbtc-v2` which we update in
# next step has an indirect dependency to `@summa-tx/relay-sol@2.0.2`
# package, which downloads one of its sub-dependencies via unathenticated
# `git://` protocol. That protocol is no longer supported. Thanks to this
# step `https://` is used instead of `git://`.
- name: Configure git to don't use unauthenticated protocol
run: git config --global url."https://".insteadOf git://
- name: Install dependencies
run: yarn install --ignore-scripts
- name: Run post-install script
run: yarn run postinstall
- name: Check formatting
run: yarn format