Configure workflow to run e2e on dev-azure on demand #847
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Review changes | |
on: | |
pull_request: | |
paths-ignore: | |
- '**/README.md' | |
- '**/.gitignore' | |
- '**/*.md' | |
- 'proto' | |
jobs: | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
- name: Find changes | |
uses: dorny/paths-filter@v2 | |
id: changes | |
with: | |
filters: | | |
changed: | |
- './**/*.{js,jsx,ts,tsx}' | |
- name: Run build | |
if: steps.changes.outputs.changed == 'true' | |
uses: ./.github/actions/build_package | |
- name: Review source code | |
if: steps.changes.outputs.changed == 'true' | |
uses: reviewdog/action-eslint@v1 | |
with: | |
reporter: github-pr-review | |
workdir: ./ | |
eslint_flags: "--cache ./**/*.{js,jsx,ts,tsx}" | |
linelint: | |
runs-on: ubuntu-latest | |
name: Check if all files end in newline | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Linelint | |
uses: fernandrone/linelint@master | |
id: linelint | |
circular-deps: | |
runs-on: ubuntu-latest | |
name: Check for circular dependencies | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build node env | |
uses: ./.github/actions/build_package | |
- name: Check for circular dependencies | |
run: yarn circular-deps |