This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
WIP #152, add personal about card #88
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: Formatting And Linting | |
on: pull_request | |
jobs: | |
formatting-and-linting: | |
name: Formatting And Linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set Up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
- name: Install Packages | |
run: npm ci | |
- name: Run ESLint | |
continue-on-error: true | |
run: npm run lint:ci | |
- name: Post ESLint Results | |
continue-on-error: true | |
uses: ataylorme/eslint-annotate-action@v2 | |
with: | |
report-json: "eslint-report.json" | |
- name: Run Prettier | |
run: npm run prettier |