Skip to content

Bump @typescript-eslint/eslint-plugin from 4.33.0 to 8.12.2 #798

Bump @typescript-eslint/eslint-plugin from 4.33.0 to 8.12.2

Bump @typescript-eslint/eslint-plugin from 4.33.0 to 8.12.2 #798

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 }}