peers/peerjs-server

View on GitHub
.github/workflows/prettier.yml

Summary

Maintainability
Test Coverage
# From https://til.simonwillison.net/github-actions/prettier-github-actions
name: Check JavaScript for conformance with Prettier

on:
  push:
  pull_request:

jobs:
  prettier:
    runs-on: ubuntu-latest
    steps:
      - name: Check out repo
        uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: 16
          cache: "npm"
      - run: npm ci
      - name: Run prettier
        run: |-
          npm run format:check