Skip to content

[pact] feat: Adding github action for contract test #23

[pact] feat: Adding github action for contract test

[pact] feat: Adding github action for contract test #23

Workflow file for this run

name: Backend Linting
on:
pull_request:
branches: ["main"]
paths:
- "backend/**"
defaults:
run:
working-directory: ./backend
jobs:
eslint:
name: Run eslint scanning
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install packages
run: npm ci
- name: Run ESLint
run: npm run lint