Skip to content

Add asset hub panel #1392 #544

Add asset hub panel #1392

Add asset hub panel #1392 #544

Workflow file for this run

name: front ci
on:
push:
branches:
- main
- "release-*"
paths:
- "site/**"
pull_request:
branches:
- main
- "release-*"
paths:
- "site/**"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup node LTS
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: yarn
cache-dependency-path: |
site/yarn.lock
landing/yarn.lock
- name: install
uses: borales/actions-yarn@v4
with:
cmd: install
dir: site
- name: lint
uses: borales/actions-yarn@v4
with:
cmd: lint
dir: site
build:
runs-on: ubuntu-latest
needs: [lint]
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup node LTS
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: yarn
cache-dependency-path: |
site/yarn.lock
- name: install site
uses: borales/actions-yarn@v4
with:
cmd: install
dir: site
- name: build site
uses: borales/actions-yarn@v4
with:
cmd: build
dir: site
- name: install landing
uses: borales/actions-yarn@v4
with:
cmd: install
dir: landing
- name: build landing
uses: borales/actions-yarn@v4
with:
cmd: build
dir: landing