Skip to content

chore(deps-dev): update karma-coverage requirement from ^2.2.0 to ^2.… #48

chore(deps-dev): update karma-coverage requirement from ^2.2.0 to ^2.…

chore(deps-dev): update karma-coverage requirement from ^2.2.0 to ^2.… #48

Workflow file for this run

name: Continous Integration
on:
push:
branches:
- master
- main
jobs:
build:
if: "!contains(github.event.commits[0].message, '[skip ci]')"
name: Build, Lint Checks and Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install NPM dependencies
run: npm install
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '8'
check-latest: true
- name: Start Mock Server
shell: bash
run: |
chmod +x "${GITHUB_WORKSPACE}/scripts/setup_mock.sh"
"${GITHUB_WORKSPACE}/scripts/setup_mock.sh"
- name: JSLint
run: npm run lint
- name: Tests
run: npm run test
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./test-results/coverage/all/lcov/lcov-all.info
release:
needs: build
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.FHIRBOT_GH_TOKEN }}
fetch-depth: 0
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Run Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.FHIRBOT_GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_AUTHOR_NAME: openui5fhirbot
GIT_AUTHOR_EMAIL: openui5-fhir@sap.com
GIT_COMMITTER_NAME: openui5fhirbot
GIT_COMMITTER_EMAIL: openui5-fhir@sap.com
run: npx semantic-release
- name: Generate API Documentation
run: npm run docs
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: gh-pages # The branch the action should deploy to.
folder: generated_docs/html
token: ${{ secrets.FHIRBOT_GH_TOKEN }}
git-config-name: openui5fhirbot
git-config-email: openui5-fhir@sap.com