Skip to content

Commit

Permalink
nvm in macos
Browse files Browse the repository at this point in the history
  • Loading branch information
bjohansebas committed Feb 2, 2025
1 parent 17d1e40 commit c0fd80a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: iojs-ci
name: macos-ci

on:
push:
Expand Down Expand Up @@ -137,6 +137,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Install nvm
shell: bash -eo pipefail -l {0}
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
- name: Install Node.js ${{ matrix.node-version }}
shell: bash -eo pipefail -l {0}
run: |
Expand All @@ -148,7 +152,6 @@ jobs:
nvm exec npm npm install -g [email protected]
ln -fs "$(which npm)" "$(dirname "$(nvm which npm)")/npm"
else
sed -i '1s;^.*$;'"$(printf '#!%q' "$(nvm which npm)")"';' "$(readlink -f "$(which npm)")"
fi
npm config set strict-ssl false
fi
Expand Down

0 comments on commit c0fd80a

Please sign in to comment.