Skip to content

Make Jeremias emeritus maintainer #55

Make Jeremias emeritus maintainer

Make Jeremias emeritus maintainer #55

Workflow file for this run

name: CI
on:
push:
branches-ignore:
# we do NOT build the documentation branch, because here we only copy build output
# of documentation from master branch to the corresponding doc folders -e.g. /docs/latest
# So this branch is only for github pages.
- documentation
# We ignore everything where tag starts with v* - this is done by release build!
tags-ignore:
- v*
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 16, 18 ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
# Matrix test using LTS (Long Term Support) versions
node-version: ${{ matrix.node }}
- run: npm ci
# https://code.visualstudio.com/api/working-with-extensions/continuous-integration#github-actions
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'
- name: Fetch version from package.json
id: version
uses: notiz-dev/github-action-json-property@release
with:
path: 'package.json'
prop_path: 'version'
- name: "Show version: v${{ steps.version.outputs.prop }}"
run: echo v${{ steps.version.outputs.prop }}
# - name: License check
# uses: blackducksoftware/[email protected]
# env:
# SYNOPSYS_SKIP_PHONE_HOME: true
# with:
# args: |
# '--blackduck.url="${{ secrets.BLACKDUCK_URL}}" \
# --detect.project.name="${{ secrets.BLACKDUCK_PROJECT_NAME }}" \
# --detect.npm.include.dev.dependencies=false \
# --blackduck.api.token="${{ secrets.BLACKDUCK_API_TOKEN }}-ci" \
# --detect.excluded.detector.types=GIT \
# --detect.policy.check.fail.on.severities=CRITICAL \
# --detect.project.version.name="${{ steps.version.outputs.prop }}" \
# --detect.detector.search.depth=3 \
# --detect.blackduck.signature.scanner.exclusion.name.pattern=.git,node_modules,.vscode-test \
# '