Skip to content

Merge pull request #1133 from ORCID/import-i18n #241

Merge pull request #1133 from ORCID/import-i18n

Merge pull request #1133 from ORCID/import-i18n #241

name: Prettier & Lint
on:
push:
branches: [ main ]
paths-ignore:
# Ignore workflow changes
- '.github/**'
pull_request:
branches: [ main ]
workflow_call:
workflow_dispatch:
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
cache-dependency-path: "ui/package-lock.json"
- name: Install dependencies
working-directory: ui
run: npm ci
- name: Run formatter
working-directory: ui
run: npm run format:cli