release v1.10.1 #85
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: | |
branches: | |
- master | |
- feature/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
- name: "Install dependencies" | |
run: | | |
npm install | |
- name: "Check if build runs" | |
run: | | |
npm run build | |
- name: "Check if tests pass" | |
working-directory: ./server | |
run: | | |
npm run test:cov | |
- name: "Check if linting passes" | |
working-directory: ./server | |
run: | | |
npm run lint | |
- uses: codecov/codecov-action@v2 | |
with: | |
directory: ./server/coverage |