We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 222dcba commit b827bfdCopy full SHA for b827bfd
.scrutinizer.yml
@@ -5,10 +5,18 @@ build:
5
dependencies:
6
before:
7
- command: |
8
- curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
9
- sudo apt-get install -y nodejs
10
- sudo npm install -g n
11
- sudo n 20
+ # Install NVM
+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
+
+ # Load NVM
12
+ export NVM_DIR="$HOME/.nvm"
13
+ [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
14
15
+ # Install and use Node.js 20
16
+ nvm install 20
17
+ nvm use 20
18
19
+ # Verify installation
20
node --version
21
npm --version
22
nodes:
0 commit comments