Skip to content

chore(deps): update docker/build-push-action action to v6.12.0 (#593) #2083

chore(deps): update docker/build-push-action action to v6.12.0 (#593)

chore(deps): update docker/build-push-action action to v6.12.0 (#593) #2083

Workflow file for this run

name: Lint Yaml
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "**/*.yml"
- "**/*.yaml"
pull_request:
paths:
- "**/*.yml"
- "**/*.yaml"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version-file: ".nvmrc"
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- name: Install dependencies
shell: bash
run: |
npm ci --ignore-scripts
- name: Run linter
shell: bash
run: |
npx --no-install prettier -c "**/*.{yml,yaml}"