|
|
|
@ -5,10 +5,23 @@ on: |
|
|
|
pull_request: |
|
|
|
pull_request: |
|
|
|
|
|
|
|
|
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
|
|
|
|
prettier: |
|
|
|
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- name: Checkout |
|
|
|
|
|
|
|
uses: actions/checkout@v2 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
# Make sure the actual branch is checked out when running on pull requests |
|
|
|
|
|
|
|
ref: ${{ github.head_ref }} |
|
|
|
|
|
|
|
|
|
|
|
linter: |
|
|
|
linter: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
# Make sure the actual branch is checked out when running on pull requests |
|
|
|
|
|
|
|
ref: ${{ github.head_ref }} |
|
|
|
- uses: actions/setup-node@v1 |
|
|
|
- uses: actions/setup-node@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
node-version: 9.8.0 |
|
|
|
node-version: 9.8.0 |
|
|
|
@ -21,15 +34,6 @@ jobs: |
|
|
|
ignore-path: '.eslintignore' |
|
|
|
ignore-path: '.eslintignore' |
|
|
|
extensions: 'ts,tsx,js,jsx' |
|
|
|
extensions: 'ts,tsx,js,jsx' |
|
|
|
|
|
|
|
|
|
|
|
prettier: |
|
|
|
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- name: Checkout |
|
|
|
|
|
|
|
uses: actions/checkout@v2 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
# Make sure the actual branch is checked out when running on pull requests |
|
|
|
|
|
|
|
ref: ${{ github.head_ref }} |
|
|
|
|
|
|
|
fetch-depth: 0 |
|
|
|
fetch-depth: 0 |
|
|
|
|
|
|
|
|
|
|
|
- name: Prettify code |
|
|
|
- name: Prettify code |
|
|
|
|