File tree Expand file tree Collapse file tree
website/docs/configuration Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Validate Website
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - " website/**"
7+ - " themes/**"
8+ - " .github/workflows/website.yml"
9+
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+ cancel-in-progress : true
13+
14+ permissions :
15+ contents : read
16+
17+ jobs :
18+ build :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Checkout code
22+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
23+ - name : Install Go
24+ uses : ./.github/workflows/composite/bootstrap-go
25+ - name : Setup Node.js
26+ uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020
27+ with :
28+ node-version : 20.9.0
29+ - name : Build oh-my-posh
30+ run : |
31+ cd src
32+ go build -o ./bin/oh-my-posh
33+ - name : Install website dependencies
34+ working-directory : website
35+ run : npm install
36+ - name : Render themes
37+ working-directory : website
38+ run : npm run themes
39+ env :
40+ PATH : ${{ github.workspace }}/src/bin:${{ env.PATH }}
41+ - name : Render segment previews
42+ working-directory : website
43+ run : npm run segment-previews
44+ env :
45+ PATH : ${{ github.workspace }}/src/bin:${{ env.PATH }}
46+ - name : Build studio wasm module
47+ working-directory : website
48+ run : npm run wasm
49+ - name : Copy schema for MCP validator
50+ run : |
51+ mkdir -p website/api/data
52+ cp themes/schema.json website/api/data/schema.json
53+ - name : Build website
54+ working-directory : website
55+ run : npm run build
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ Converters won't catch this change, so you will need to adjust manually.
255255[ colors ] : /docs/configuration/colors
256256[ accent ] : /docs/configuration/colors#standard-colors
257257[ templates ] : /docs/configuration/templates#config-variables
258- [ vimode ] : /docs/segments/vimode
258+ [ vimode ] : /docs/segments/system/ vimode
259259[ pwsh-bleed ] : https://github.com/PowerShell/PowerShell/pull/19019
260260[ iterm2-si ] : https://iterm2.com/documentation-shell-integration.html
261261[ Upgrade ] : /docs/installation/upgrade
You can’t perform that action at this time.
0 commit comments