Skip to content

Commit

Permalink
chore(flow): add eslint action
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang authored Jul 17, 2021
1 parent e43dda6 commit 5c46ed3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This is a basic workflow to help you get started with Actions

name: Lint Code

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the formily_next branch
push:
branches: [ formily_next ]
pull_request:
branches: [ formily_next ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ESlint Runner Action
uses: tinovyatkin/action-eslint@v1

0 comments on commit 5c46ed3

Please sign in to comment.