Skip to content

Bump eslint from 7.32.0 to 9.9.1 #781

Bump eslint from 7.32.0 to 9.9.1

Bump eslint from 7.32.0 to 9.9.1 #781

Workflow file for this run

name: Test
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize]
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
env:
IS_COVERAGE_ALLOWED: ${{ secrets.CODACY_PROJECT_TOKEN != '' }}
IS_MASTER_BRANCH: ${{ github.ref == 'refs/heads/master' }}
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm ci
- name: Run tests
run: |
if $IS_COVERAGE_ALLOWED && $IS_MASTER_BRANCH; then
npm run test-with-coverage
npm run upload-coverage
else
npm run test
fi
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}