UNPKG

@rmlio/matey

Version:

Web-based editor for YARRRML rules.

53 lines (49 loc) 1.53 kB
##################### # # # Matey # # # ##################### # # (c) Dylan Van Assche (2022) # IDLab - Ghent University - imec # # CI jobs for the Matey editor # # # CI variables: # - GITHUB_ACCESS_TOKEN: Access token for accessing Github repositories as variable, example: sdjlsdgfkj;sk # - GITHUB_REPO: Github repo, example: github.com/RMLio/rmlmapper-java # - GITHUB_ARTIFACTS: Artifacts to upload together with th release, example: target/*.jar # - NPM_TOKEN: Access token for accessing NPM repositories, example: sdjlsdgfkj;skf145 # External scripts: # - ./get-changes.sh: returns the release notes for the Github Release description # - ./build-release.sh: builds a release artifact and stores it in the $GITHUB_ARTIFACTS location # # Always use protected & masked mode if possible for CI variables! # See https://gitlab.ilabt.imec.be/rml/util/ci-templates for a detailed explanation stages: - lint - unittests - deploy include: # Make sure the CHANGELOG is always updated - project: 'rml/util/ci-templates' ref: main file: 'CHANGELOG.gitlab-ci.yml' # Cancel pipeline if a newer pipeline is running default: interruptible: true # Run unittests Unittests: image: alpine:latest stage: unittests before_script: - apk add nodejs npm java-jre-headless - npm install -g @rmlio/rmlmapper-webapi script: - rmlmapper-webapi --logLevel=debug & - sleep 3 - npm install - npm run test except: - master