build(deps-dev): bump @commitlint/cli from 19.0.1 to 19.2.1 #1248
Workflow file for this run
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: Test | |
on: | |
push: | |
branches-ignore: | |
- development | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-18.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Start test api | |
run: yarn test-api & yarn wait-on http://localhost:4000 | |
- name: Run tests | |
run: yarn test | |
- name: Submit test coverage | |
env: | |
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
run: | | |
export GIT_BRANCH="${GITHUB_REF#refs/heads/}" | |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter | |
chmod +x ./cc-test-reporter | |
./cc-test-reporter format-coverage -t lcov coverage/lcov.info | |
./cc-test-reporter upload-coverage |