Refactored workloads and Kubernetes manifest actions (#119) #1664
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
# https://github.com/prettier/prettier | |
name: Markdown formatter | |
on: | |
- push | |
- pull_request | |
jobs: | |
prettier-md: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: prettier --check | |
# Get Prettier version from the devcontainer dependencies to ensure that | |
# we run the same version in both environments | |
run: |- | |
npx prettier@$(node -p -e "require('./.devcontainer/dependencies/package.json').dependencies['prettier']") --check '**.md' |