Skip to content

Commit

Permalink
chore(CI): added ci workflow to build docsite
Browse files Browse the repository at this point in the history
  • Loading branch information
powerfooI committed Nov 15, 2024
1 parent 46dbb2f commit d7d666d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build-docsite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: build docsite

on:
push:
branches:
- master
- test-docsite
paths:
- 'docsite/**'
pull_request:
branches:
- master
- test-docsite
paths:
- 'docsite/**'

jobs:
build:
name: build docsite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn
cache-dependency-path: './docsite/yarn.lock'
- name: Install dependencies
run: cd docsite && yarn install --frozen-lockfile
- name: Build website
run: cd docsite && yarn build

0 comments on commit d7d666d

Please sign in to comment.