Skip to content

Commit

Permalink
Add basic GH workflow for dapp workspace
Browse files Browse the repository at this point in the history
This is an initial implementation of the CI process to check formatting
in `dapp` workspace.
  • Loading branch information
nkuba committed Nov 23, 2023
1 parent feb21f1 commit 4f0a6e6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/dapp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: dApp

on:
push:
branches:
- main
paths:
- "dapp/**"
pull_request:

defaults:
run:
working-directory: ./dapp

jobs:
dapp-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version-file: "dapp/.nvmrc"
cache: "yarn"
cache-dependency-path: "dapp/yarn.lock"

- name: Install Dependencies
run: yarn install --prefer-offline --frozen-lockfile

- name: Format
run: yarn format

0 comments on commit 4f0a6e6

Please sign in to comment.