Skip to content

Commit

Permalink
fix(ci): downgrade node due to nodejs/node#53902 (#56)
Browse files Browse the repository at this point in the history
A bug in node version 22.5.0 has caused the CI to fail. While a patch
has been merged, a release is still awaited. This PR works around that
by pinning the node version to one that does not contain the bug.

Once there is a new release, the pinned part (`.4`) can be removed
  • Loading branch information
MaxMustermann2 authored Jul 19, 2024
1 parent a6dfa2d commit 486e3f2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '22'
# Node 22.5 has a bug
# https://github.com/nodejs/node/pull/53904
# TODO: Once a version with the bug fix (above) is released,
# the version pin can be moved back to 22
node-version: '22.4'

- name: Clear npm cache
run: npm cache clean --force

- name: Install Solhint
run: npm install --save-dev solhint
Expand Down

0 comments on commit 486e3f2

Please sign in to comment.