Skip to content

Create the flatmap package #3055

Create the flatmap package

Create the flatmap package #3055

Workflow file for this run

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