Merge pull request #412 from dcmjs-org/fix/process-and-log #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run lint and format check | |
on: | |
- push | |
- pull_request | |
jobs: | |
lint-and-format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Install packages | |
run: yarn install --frozen-lockfile | |
- name: Run ESLint | |
run: yarn lint | |
- name: Check Prettier formatting | |
run: yarn format:check |