Merge pull request #584 from bcgsc/bugfix/DEVSU-2549-cancerType-not-a… #2643
This file contains hidden or 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@v4 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - run: npm ci | |
| - run: npm test | |
| - name: Publish Unit Test Results | |
| uses: EnricoMi/publish-unit-test-result-action@v2.11.0 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| files: coverage/junit.xml | |
| - uses: codecov/codecov-action@v3 | |
| with: | |
| file: codecov.yml | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| docker: | |
| runs-on: ubuntu-latest | |
| name: docker-build | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: | | |
| docker build --file Dockerfile --tag pori/ipr-client . |