From a4bbd17e9968e574df6b8cba4ada9c87e96de3ed Mon Sep 17 00:00:00 2001 From: Seb Aebischer Date: Wed, 29 Jan 2025 11:40:31 +0000 Subject: [PATCH] ci: Pin Node version in `publish` job Not clear why this job wasn't already using `actions/setup-node`, but seems that Node 20 is now the default. Setting to Node 18 for consistency with other jobs, for now, so we can unblock that publish. We do need to migrate everything to Node 20+, but as the last publish failure demonstrated, there's an incompatibility with one of the ESLint plugins. We need to resolve this in our ESLint config before we can upgrade here. --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a3137f6..817cdff 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -79,6 +79,10 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 18 + - name: Restore cache uses: actions/cache@v4 with: