Skip to content

34 implement initial cicd pipelines #6

34 implement initial cicd pipelines

34 implement initial cicd pipelines #6

Workflow file for this run

name:
on:
pull_request:
branches:
- dev
- release
- main
push:
branches:
- dev
- release
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install modules
run: yarn global add eslint @typescript-eslint/eslint-plugin@latest
- name: Run ESLint
# echo 0 ensures the CI passess even after
run: eslint . --format json --ext .js,.jsx,.ts,.tsx > eslint-report.json || echo 0
- name: cat report file
# echo 0 ensures the CI passess even after
run: cat eslint-report.json || echo 0
- name: ESLint Reporter
uses: rahmanrafi/eslint-reporter-action@v3
with:
json: ./eslint-report.json
title: ESLint Report