Bump version 0.5.1 > 0.5.2 (#243) #385
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: Prettier | |
on: | |
# Triggered whenever a commit is added to the main branch | |
push: | |
branches: | |
- main | |
# Triggered whenever a PR is opened or updated | |
pull_request: | |
jobs: | |
yaml: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- name: Install dependencies | |
run: npm install --save-dev --save-exact prettier | |
- name: Run Prettier to check YAML format | |
run: npx prettier --check "**/*.yml" "**/*.yaml" |