element-plus/.github/workflows/unit-test.yml

31 lines
621 B
YAML
Raw Normal View History

name: Unit Test
2020-07-25 23:38:24 +08:00
2020-09-01 13:27:19 +08:00
on: pull_request
2020-07-25 23:38:24 +08:00
jobs:
build:
name: Unit Test
2020-07-25 23:38:24 +08:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2020-08-03 18:07:29 +08:00
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '12'
2020-08-03 18:07:29 +08:00
- name: Install dependencies
2020-11-23 09:50:30 +08:00
run: yarn bootstrap
2020-08-04 10:49:49 +08:00
- name: Lint
run: yarn lint
2020-08-03 21:18:20 +08:00
- 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 }}