Skip to content

CI Workflows for dApp and Website packages #5

CI Workflows for dApp and Website packages

CI Workflows for dApp and Website packages #5

Workflow file for this run

name: Website
on:
push:
branches:
- main
paths:
- "website/**"
pull_request:
defaults:
run:
working-directory: ./website
jobs:
website-format:
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: 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