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
2
2
3
3
on :
4
4
push :
@@ -137,6 +137,10 @@ jobs:
137
137
138
138
steps :
139
139
- 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
140
144
- name : Install Node.js ${{ matrix.node-version }}
141
145
shell : bash -eo pipefail -l {0}
142
146
run : |
@@ -147,8 +151,6 @@ jobs:
147
151
if [[ "$(npm -v)" == 1.1.* ]]; then
148
152
nvm exec npm npm install -g npm@1.1
149
153
ln -fs "$(which npm)" "$(dirname "$(nvm which npm)")/npm"
150
- else
151
- sed -i '1s;^.*$;'"$(printf '#!%q' "$(nvm which npm)")"';' "$(readlink -f "$(which npm)")"
152
154
fi
153
155
npm config set strict-ssl false
154
156
fi
You can’t perform that action at this time.
0 commit comments