element-plus/.github/workflows/unit-test.yml
2021-07-23 16:46:53 +08:00

22 lines
417 B
YAML

name: Unit Test
on: pull_request
jobs:
build:
name: Unit Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'yarn'
- name: Install dependencies
run: yarn bootstrap
- name: Lint
run: yarn lint
- name: Test
run: yarn test