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.
This commit is contained in:
David Cook
2023-02-02 11:51:13 +11:00
parent 6dc54fbd22
commit 14189aef5c

View File

@@ -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: