Skip to content

fix(unittest): make unittest runnable #3071

fix(unittest): make unittest runnable

fix(unittest): make unittest runnable #3071

Workflow file for this run

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