Skip to content

Merge pull request #10 from reuters-graphics/changeset-release/main #23

Merge pull request #10 from reuters-graphics/changeset-release/main

Merge pull request #10 from reuters-graphics/changeset-release/main #23

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
checks: write
contents: write
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- id: checkout
name: Checkout Repo
uses: actions/checkout@v4
- id: pnpm
name: PNPM action setup
uses: pnpm/action-setup@v4
with:
version: 8
- id: setup
name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- id: install
name: Install dependencies
run: pnpm install
- id: lint
name: Run linters
uses: wearerequired/lint-action@v2
with:
eslint: true
prettier: true
prettier_auto_fix: true