From 8a070cc06f89eede11d9ece8c32a41ee0bdaef43 Mon Sep 17 00:00:00 2001 From: David Date: Sun, 18 Jul 2021 23:27:30 +0100 Subject: [PATCH] Use npm ci and package.json script --- .github/workflows/lint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a6c217dc32..9c593e3aa0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -24,9 +24,9 @@ jobs: node-version: "14" - name: Install JS dependencies - run: npm i + run: npm ci working-directory: ./js - name: Check JS formatting - run: ./node_modules/.bin/prettier --check src + run: npm run format-check working-directory: ./js