Merge pull request #127 from vivid-planet/changeset-release/main #35
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: Lint and Prettier Check | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
lint-and-prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: npm ci --no-audit --no-fund | |
- name: Run Prettier | |
run: npx prettier -c . |