Bump nested modules to v1.7.0 #3061
Workflow file for this run
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: json lint | |
on: [push] | |
jobs: | |
sdk-json-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: git clone | |
uses: actions/checkout@v4 | |
- name: set up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.8 | |
- name: install prettier | |
run: npm install [email protected] --global | |
- name: lint .json files with prettier | |
run: | | |
# Only lint if there are .json files in the repo. | |
if [ -n "$(find . -type f -name '*.json')" ]; then | |
prettier -c "**/*.json" | |
fi |