Merge pull request #88 from bcgsc/release/v4.3.0 #256
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@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- run: npm ci | |
- run: npm run lint | |
- run: npm test | |
- name: Publish Unit Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v1.6 | |
if: always() | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
files: coverage/junit.xml | |
- uses: codecov/codecov-action@v1 | |
with: | |
yml: codecov.yml | |
token: ${{ secrets.CODECOV_TOKEN }} | |
docker: | |
runs-on: ubuntu-latest | |
name: docker build | |
steps: | |
- uses: actions/checkout@v2 | |
- name: build the docker container | |
run: | | |
docker build --file Dockerfile --tag pori/graphkb-client . |