Skip to content

Commit

Permalink
ci: Pin Node version in publish job
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
seb-cr committed Jan 29, 2025
1 parent 190d824 commit a4bbd17
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a4bbd17

Please # to comment.