Fixes crash when DOI for wrong object type used. #2429 #5925
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
- name: Install Dependencies | |
run: npm install | |
- name: Run npm unit tests | |
run: npm run test:unit | |
- name: Update coverage to coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: './coverage/lcov.info' | |
- name: Update coverage to codacy | |
run: npm run codacy ${{ secrets.CODACY_PROJECT_TOKEN }} |