File tree Expand file tree Collapse file tree 1 file changed +21
-6
lines changed
Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Original file line number Diff line number Diff line change 1515# specific language governing permissions and limitations
1616# under the License.
1717
18- name : Markdown Lint
18+ name : Documentation CI
1919
2020on :
2121 pull_request :
2222 paths :
23- - ' **/*.md'
24- push :
25- paths :
23+ - ' website/**'
2624 - ' **/*.md'
2725
2826jobs :
29- markdownlint :
30- if : github.event_name == 'push' || github.event_name == 'pull_request'
27+ lint-and-build :
3128 runs-on : ubuntu-latest
3229 steps :
3330 - name : Checkout code
6764 else
6865 echo "No markdown files changed, skipping lint."
6966 fi
67+
68+ - name : Setup pnpm
69+ uses : pnpm/action-setup@v4
70+ with :
71+ version : 8
72+ run_install : false
73+
74+ - name : Enable corepack
75+ working-directory : website
76+ run : npm i -g --force corepack && corepack enable
77+
78+ - name : Install dependencies
79+ working-directory : website
80+ run : pnpm install
81+
82+ - name : Build website
83+ working-directory : website
84+ run : pnpm build
You can’t perform that action at this time.
0 commit comments