Skip to content

Commit

Permalink
Add build execution in dapp and website CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nkuba committed Nov 23, 2023
1 parent 390279c commit 7a40138
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/dapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,21 @@ jobs:

- name: Format
run: yarn format

dapp-build:
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: Build
run: yarn build
18 changes: 18 additions & 0 deletions .github/workflows/website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,21 @@ jobs:

- name: Format
run: yarn format

website-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

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

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

- name: Build
run: yarn build

0 comments on commit 7a40138

Please sign in to comment.