Merge pull request #356 from bcgsc/merge-master-to-dev-6.22.0 #1613
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 | |
strategy: | |
matrix: | |
node: [16, 18, 20] | |
name: node-${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm ci | |
- run: npm test | |
- name: Publish Unit Test Results | |
uses: EnricoMi/[email protected] | |
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 | |
- run: | | |
docker build --file Dockerfile --tag pori/ipr-client . |