name: Lint on: push: branches: [master] pull_request: branches: [master] jobs: lint: runs-on: ubuntu-latest name: Lint files steps: - name: Checkout repository uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - name: Setup node uses: ./.github/actions/setup-node with: NODEJS_VERSION: '20' - name: Run ESLint run: yarn run eslint - name: Lint markdown files run: yarn run markdownlint - name: Lint shell scripts with shellcheck run: shellcheck bin/heroku bin/setup - name: Lint JSON files run: sudo apt install -y jq && yarn run jsonlint