Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
ci: resolve PR title check failure issue (#102)
白熱bc90b53b0f6c
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex b269389e6a..acc2b3de08 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -44,6 +44,7 @@ jobs:key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}restore-keys: |${{ runner.os }}-pnpm-store-+- name: Install dependenciesrun: pnpm installdiff --git a/.github/workflows/pr-title-lint.yml b/.github/workflows/pr-title-lint.ymlindex bf8440c65b..14a3e2b7fb 100644--- a/.github/workflows/pr-title-lint.yml+++ b/.github/workflows/pr-title-lint.yml@@ -15,12 +15,34 @@ jobs:name: Check pull request titleruns-on: ubuntu-lateststeps:- - name: Checkout- uses: actions/checkout@v3+ - name: Checkout+ uses: actions/checkout@v3- - name: Install Node.js- uses: actions/setup-node@v3- with:- node-version: 16+ - name: Install Node.js+ uses: actions/setup-node@v3+ with:+ node-version: 16- - run: echo "${{ github.event.pull_request.title }}" | npx commitlint -g ./commitlint.config.js+ - name: Install pnpm+ uses: pnpm/action-setup@v2+ with:+ version: 8+ run_install: false++ - name: Get pnpm store directory+ shell: bash+ run: |+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV++ - name: Setup pnpm cache+ uses: actions/cache@v3+ with:+ path: ${{ env.STORE_PATH }}+ key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}+ restore-keys: |+ ${{ runner.os }}-pnpm-store-++ - name: Install dependencies+ run: pnpm install++ - run: echo "${{ github.event.pull_request.title }}" | pnpx commitlint -g ./commitlint.config.js