Skip to content

Merge pull request #20 from UKDanceBlue/mobile-to-graphql #56

Merge pull request #20 from UKDanceBlue/mobile-to-graphql

Merge pull request #20 from UKDanceBlue/mobile-to-graphql #56

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
run-eslint:
name: Run ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up node 18.x
uses: actions/[email protected]
with:
node-version: 18
cache: yarn
- name: Install dependencies
run: yarn install
- name: Build GraphQL
run: yarn run gql:build
- name: Build common
working-directory: ./packages/common
run: yarn build
- name: Run ESLint
run: npm run lint:report
continue-on-error: true
- name: Annotate Code Linting Results
uses: ataylorme/eslint-annotate-action@v2
with:
report-json: "eslint_report.json"