Skip to content

chore(deps): lock file maintenance #566

chore(deps): lock file maintenance

chore(deps): lock file maintenance #566

Workflow file for this run

name: Prettier
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
show-progress: false
- name: Set up node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version-file: ".nvmrc"
cache: "npm"
cache-dependency-path: package-lock.json
registry-url: https://npm.pkg.github.com
- name: Install dependencies
shell: bash
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm ci --ignore-scripts
- name: Run Prettier
shell: bash
run: |
npx --no-install prettier --check .