Skip to content

Bump eslint from 8.57.0 to 9.21.0 #788

Bump eslint from 8.57.0 to 9.21.0

Bump eslint from 8.57.0 to 9.21.0 #788

Workflow file for this run

name: 'Unit Tests'
on: [push]
jobs:
run-tests:
if: ${{ github.actor != 'dependabot[bot]' }}
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Build
run: npm ci
- name: Run tests & submit coverage report
uses: paambaati/codeclimate-action@v5.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: npm run test
coverageLocations: "coverage/lcov.info:lcov"
dependabot-tests:
if: ${{ github.actor == 'dependabot[bot]' }}
name: Dependabot Unit Tests
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Build
run: npm ci
- name: Run tests
run: npm run test