Skip to content

Add a GH Action workflow to check package-lock.json file for the commit. #2

Add a GH Action workflow to check package-lock.json file for the commit.

Add a GH Action workflow to check package-lock.json file for the commit. #2

Workflow file for this run

name: Format check
on: [pull_request]
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Prettier
run: npm install prettier
- name: Check formatting
run: npx prettier --check "horreum-web/package-lock.json"