Merge pull request #107 from mvdbeek/update_schema_salad_version #105
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: TypeScript Continuous integration tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
concurrency: | |
group: build-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
NODE_VERSION: 17.x | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./typescript | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- run: node --version | |
- run: npm install | |
- run: npm test | |
- name: Upload coverage to Codecov | |
uses: codecov/[email protected] | |
with: | |
directory: ./typescript | |
fail_ci_if_error: true | |
flags: unittests | |
token: ${{ secrets.CODECOV_TOKEN }} |