mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 17:31:02 +08:00
f2b20c8eb8
* test: add ssr test * chore: update
31 lines
621 B
YAML
31 lines
621 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: '12'
|
|
- name: Install dependencies
|
|
run: yarn bootstrap
|
|
- name: Lint
|
|
run: yarn lint
|
|
- name: Test
|
|
run: yarn test
|
|
|
|
dependabot:
|
|
needs:
|
|
- build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: auto-merge
|
|
uses: ridedott/dependabot-auto-merge-action@master
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|