File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -216,6 +216,16 @@ jobs:
216216 curl -sSfL https://github.com/goreleaser/nfpm/releases/download/v2.3.1/nfpm_2.3.1_`uname -s`_`uname -m`.tar.gz | tar -C ~/.local/bin -zxv nfpm
217217 echo "$HOME/.local/bin" >> $GITHUB_PATH
218218
219+ # The version of node-gyp we use depends on distutils but it was removed
220+ # in Python 3.12. It seems to be fixed in the latest node-gyp so when we
221+ # next update Node we can probably remove this. Note that Node >=18.18 no
222+ # longer bundles node-gyp and Yarn v1 has a bug when auto-installing it
223+ # where it does not run post-install scripts so we will have to add
224+ # node-gyp manually to all the steps that install yarn/npm packages when
225+ # that time comes.
226+ - name : Install Python utilities
227+ run : python3 -m pip install packaging
228+
219229 - name : Download npm package
220230 uses : actions/download-artifact@v3
221231 with :
You can’t perform that action at this time.
0 commit comments