Commit 4566e6a1 authored by Richard Winters's avatar Richard Winters 🌚
Browse files

Update Gitlab-CI Configuration

* Removed before_script via comment notation
parent beef01da
Pipeline #240444013 passed with stage
in 1 minute and 22 seconds
......@@ -8,10 +8,11 @@ variables:
PACKAGE_ARCHIVE: "mmod-panel_${PACKAGE_VERSION}.zip"
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/mmod-panel/${PACKAGE_VERSION}"
before_script:
- apt-get update -qq && apt-get upgrade -y -qq && apt-get install -y -qq curl software-properties-common
- curl -sL https://deb.nodesource.com/setup_12.x | bash -
- apt-get install -y -qq nodejs
# WE MUST REMOVE THIS BECAUSE IT RUNS PRIOR TO EACH JOB!
#before_script:
# - apt-get update -qq && apt-get upgrade -y -qq && apt-get install -y -qq curl software-properties-common
# - curl -sL https://deb.nodesource.com/setup_12.x | bash -
# - apt-get install -y -qq nodejs
cache:
paths:
......@@ -20,6 +21,9 @@ cache:
build:
stage: build
script:
- apt-get update -qq && apt-get upgrade -y -qq && apt-get install -y -qq curl software-properties-common
- curl -sL https://deb.nodesource.com/setup_12.x | bash -
- apt-get install -y -qq nodejs
- npm install
- npm run build:release
artifacts:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment