use new nodejs
This commit is contained in:
parent
31435e9c3b
commit
39a9347bab
@ -5,15 +5,15 @@ variables:
|
||||
|
||||
before_script:
|
||||
- rustup target add $CARGO_TARGET
|
||||
- apt-get update -qq && apt-get install -y -qq sshpass musl musl-tools sqlite3 curl gnupg && curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs
|
||||
- apt-get update -qq && apt-get install -y -qq sshpass musl musl-tools sqlite3 curl gnupg && mkdir -p /etc/apt/keyrings | curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && apt-get update && apt-get install nodejs -y
|
||||
- ./test_db.sh
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- cd frontend && npm install && npm run build
|
||||
- cargo build --release --target $CARGO_TARGET
|
||||
- strip target/$CARGO_TARGET/release/rot
|
||||
- cd frontend && npm install && npm run build
|
||||
artifacts:
|
||||
paths:
|
||||
- target/$CARGO_TARGET/release/rot
|
||||
|
Loading…
Reference in New Issue
Block a user