Globe #30
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: Format and Lint | |
on: [pull_request] | |
jobs: | |
format-and-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install Node.js dependencies | |
run: npm ci | |
- name: Formatting with Prettier | |
run: npm run format | |
- name: Linting with ESLint | |
run: npm run lint |