mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 09:20:51 +08:00
30 lines
622 B
YAML
30 lines
622 B
YAML
name: CI
|
|
|
|
on: pull_request
|
|
|
|
jobs:
|
|
build:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup node
|
|
uses: actions/setup-node@v1
|
|
- name: Install dependencies
|
|
run: yarn install --frozen-lockfile
|
|
- 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_LOGIN: dependabot[bot]
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|