Skip to content

Bump version → 4.1.1, releasing #99 #90

Bump version → 4.1.1, releasing #99

Bump version → 4.1.1, releasing #99 #90

Workflow file for this run

name: Node CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/cache@v2
with:
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: |
npm ci --legacy-peer-deps
cp app/src/_bananas.settings.js app/src/bananas.settings.js
- name: Lint JS
run: |
npm run eslint
- name: Run tests
continue-on-error: true
run: |
npm run coverage
- name: Report coverage
continue-on-error: true
if: github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize')
uses: 5monkeys/cobertura-action@v7
with:
path: coverage/cobertura-coverage.xml
repo_token: ${{ secrets.GITHUB_TOKEN }}
minimum_coverage: 20