Skip to content

Merge tag '0.145.0' into develop #186

Merge tag '0.145.0' into develop

Merge tag '0.145.0' into develop #186

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- develop
- master
- 'release/*'
- 'hotfix/*'
env:
CI: true
jobs:
fetch-dependencies:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v1
- name: fetch and cache npm dependencies
id: cache-node-modules
uses: actions/cache@v2
with:
path: ./node_modules
key: cached_node_modules_${{ hashFiles('**/yarn.lock') }}
restore-keys: cached_node_modules_
- if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: yarn --prefer-offline --frozen-lockfile --ignore-engines
test-with-coverage:
runs-on: ubuntu-latest
needs: fetch-dependencies
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v1
- id: cache-node-modules
uses: actions/cache@v2
with:
path: ./node_modules
key: cached_node_modules_${{ hashFiles('**/yarn.lock') }}
restore-keys: cached_node_modules_
- run: yarn test:cover
- name: Send coverage report to coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}