feat: 代码编辑器中增加新属性previewStyleClass用于实现自定义高亮代码主题。#1861 #3028
Workflow file for this run
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
name: Pull Request | |
on: | |
push: | |
branches: [ dev, main, 1.0.0 ] | |
pull_request: | |
branches: [ dev, main, 1.0.0 ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
name: "Build: node-${{ matrix.node-version }}" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 6 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- name: Install deps | |
run: pnpm i | |
- name: Build site | |
run: pnpm build | |
- name: ESLint | |
run: pnpm cli --filter vue-devui -- code-check -t eslint | |
- name: Unit test | |
run: pnpm cli --filter vue-devui -- code-check -t unit-test |