Fix node CI
This commit is contained in:
parent
35a125d023
commit
2bc2127831
|
@ -23,6 +23,10 @@ jobs:
|
||||||
name: set Go path
|
name: set Go path
|
||||||
command: echo 'export PATH=$PATH:/usr/local/go/bin' >> $BASH_ENV
|
command: echo 'export PATH=$PATH:/usr/local/go/bin' >> $BASH_ENV
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: uninstall Node
|
||||||
|
command: sudo apt-get remove -y nodejs
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: install Node 1/3
|
name: install Node 1/3
|
||||||
command: curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh
|
command: curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh
|
||||||
|
@ -34,6 +38,10 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: install Node 3/3
|
name: install Node 3/3
|
||||||
command: sudo apt-get install -y nodejs
|
command: sudo apt-get install -y nodejs
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Check Node Version
|
||||||
|
command: node -v
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Install GuPM
|
name: Install GuPM
|
||||||
|
|
Loading…
Reference in a new issue