Skip to content
Snippets Groups Projects
Verified Commit 6a5972b3 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

feat: new nvm install

parent 58f16760
No related branches found
No related tags found
No related merge requests found
Pipeline #696 failed
......@@ -8,9 +8,14 @@ stages:
- deploy
before_script:
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -q pkg-config nodejs npm
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -q pkg-config
- curl -sf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y
- export PATH=$PATH:$HOME/.cargo/bin
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
- export NVM_DIR="$HOME/.nvm"
- \[ -s "$NVM_DIR/nvm.sh" \] && \\. "$NVM_DIR/nvm.sh"
- \[ -s "$NVM_DIR/bash_completion" \] && \\. "$NVM_DIR/bash_completion"
- nvm install 16
build-rust:
stage: build
......@@ -43,13 +48,13 @@ build-wasm:
deploy-netlify-preview:
stage: deploy
script:
- cd examples/web && npx --package=netlify-cli netlify deploy --dir=.
- cd examples/web && npm_config_yes=true npx --package=netlify-cli netlify deploy --dir=.
only:
- master
deploy-netlify-prod:
stage: deploy
script:
- cd examples/web && npx --package=netlify-cli netlify deploy --dir=. --prod
- cd examples/web && npm_config_yes=true npx --package=netlify-cli netlify deploy --dir=. --prod
only:
- tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment