Commit 1f0fa77b authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

tests ci suite

parent d963844d
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ variables:

build:
  stage: build
  image: node:18-alpine3.15
  image: node:14-bullseye
  rules:
    - if: $CI_COMMIT_TAG
  before_script:
@@ -20,9 +20,7 @@ build:
    - MAX_VERSION=$(node -p -e "require('./package.json').version")
    - ASSET="max-V${MAX_VERSION}.zip"
    - echo "ASSET = "$ASSET
    - ls ./tools
    - cd tools
    - ls ../
    - ./build.sh
    - ls dist
  artifacts:
@@ -35,6 +33,9 @@ upload:
  rules:
    - if: $CI_COMMIT_TAG
  script:
    - MAX_VERSION=$(node -p -e "require('./package.json').version")
    - ASSET="max-V${MAX_VERSION}.zip"
    - echo "ASSET = "$ASSET
    - |
      curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file dist/${ASSET} "${PACKAGE_REGISTRY_URL}/${ASSET}"