Skip to content

v1.5.0

v1.5.0 #134

Workflow file for this run

name: Build and tests
on:
push:
branches: [ master ]
tags:
- '!*' # Do not execute on tags
paths:
- src/**
- public/**
- cypress/**
- '.github/**'
- '**.json'
- '**.js'
- '**.jsx'
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Prepare Code-Climate reporter
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter before-build
- run: npm ci
- name: Run tests and report coverage
env:
CC_TEST_REPORTER_ID: 1ba79968e72f466436bec94526c2234b000886463638859d328819c94bfe3590
run: |
npm test
./cc-test-reporter after-build --exit-code $?