Commit f2e6570f authored by Wohlgemuth, Jason's avatar Wohlgemuth, Jason
Browse files

fix(ci): Update acorn installation to support new images and npm local binary requirement

parent 5ca5985e
Loading
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -7,16 +7,13 @@ default:
    - cpu
  image: savannah.ornl.gov/research-enablement/bucket/runner
  before_script:
    - curl -LO https://code.ornl.gov/api/v4/projects/16689/packages/generic/x86_64-unknown-linux-gnu/v${ACORN_VERSION}/acorn
    - chmod +x ./acorn
    - ./acorn --version
    - curl -L https://github.com/errata-ai/vale/releases/download/v${VALE_VERSION}/vale_${VALE_VERSION}_Linux_64-bit.tar.gz -o /root/vale.tar.gz
    - tar -xvzf /root/vale.tar.gz -C /usr/local/bin
    - vale -v
    - git --version
    - git config --global user.name "${USER}"
    - git config --global user.email "${EMAIL}"
    - git --version
    - git config --list
    - ln -s /usr/local/bin/acorn "${CI_PROJECT_DIR}/bin/acorn"
    - ./bin/acorn --version
    - vale -v
    - node --version
    - npm --version
    - npm install