From e9bc3d779050242d707038de4acf923332b541ca Mon Sep 17 00:00:00 2001 From: Matt Wozniski Date: Fri, 24 Nov 2023 14:45:52 -0500 Subject: [PATCH] ci: Ensure `prettier` runs with the right NodeJS It seems that it wants to pick up a binary called `nodejs`, while `actions/setup-node` is only installing one called `node`. Let's hack around this with a symlink. Signed-off-by: Matt Wozniski --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9dfca5e12a..be2f9a8b54 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -110,6 +110,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: 16 + - name: Symlink node as nodejs + run: ln -sf "$(which node)" "$(which node)js" - name: Set up Python uses: actions/setup-python@v4 with: