File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1- name : iojs -ci
1+ name : macos -ci
22
33on :
44 push :
@@ -137,6 +137,10 @@ jobs:
137137
138138 steps :
139139 - uses : actions/checkout@v4
140+ - name : Install nvm
141+ shell : bash -eo pipefail -l {0}
142+ run : |
143+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
140144 - name : Install Node.js ${{ matrix.node-version }}
141145 shell : bash -eo pipefail -l {0}
142146 run : |
@@ -147,8 +151,6 @@ jobs:
147151 if [[ "$(npm -v)" == 1.1.* ]]; then
148152 nvm exec npm npm install -g [email protected] 149153 ln -fs "$(which npm)" "$(dirname "$(nvm which npm)")/npm"
150- else
151- sed -i '1s;^.*$;'"$(printf '#!%q' "$(nvm which npm)")"';' "$(readlink -f "$(which npm)")"
152154 fi
153155 npm config set strict-ssl false
154156 fi
You can’t perform that action at this time.
0 commit comments