[Docs] Update package download links in docs (#515) #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2023 LakeSoul Contributors | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
name: Website Build | |
on: | |
push: | |
paths: | |
- "website/**" | |
branches: | |
- 'main' | |
pull_request: | |
paths: | |
- "website/**" | |
branches: | |
- 'main' | |
- 'release/**' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache-dependency-path: 'website/package-lock.json' | |
cache: npm | |
- name: Build website | |
working-directory: ./website | |
run: | | |
npm ci | |
npm run build |