Skip to content

fix(core): failed to resolve theme components when using theme inheritance (close: #3163) #375

fix(core): failed to resolve theme components when using theme inheritance (close: #3163)

fix(core): failed to resolve theme components when using theme inheritance (close: #3163) #375

name: Pull request workflow
on:
pull_request:
jobs:
pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
check-latest: true
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn
- name: Run tsc
run: yarn tsc
- name: Run unit tests
run: yarn test
- name: Check linter
run: yarn lint
- name: Check markdown linter
run: yarn workspace docs lint-md
- name: Build vuepress
run: yarn build