From 14189aef5c447013cac314623b72bc3614063eda Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 2 Feb 2023 11:51:13 +1100 Subject: [PATCH] Use yarn to install dependencies reviewdoc-action-prettier is automatically running npm, but that fails. We use yarn so maybe if we call it first, npm won't get called? Worth a try. --- .github/workflows/linters.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index a5f6a5d866..21219f9a2f 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -24,6 +24,14 @@ jobs: steps: - name: Check out code uses: actions/checkout@v3 + + - uses: actions/setup-node@v3 + with: + node-version: 16 + + - name: Install JS dependencies + run: yarn install --frozen-lockfile + - name: prettier uses: EPMatt/reviewdog-action-prettier@v1 with: