Skip to content

Bump typescript-eslint from 7.17.0 to 8.16.0 #2875

Bump typescript-eslint from 7.17.0 to 8.16.0

Bump typescript-eslint from 7.17.0 to 8.16.0 #2875

Workflow file for this run

# Contains unit test, lint, dependabot automerge logic
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
pull-requests: write
contents: write
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20']
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
# installs dependencies
- run: npm ci
# build
- name: Run ESLint
run: npm run lint
- name: Ensure project builds
run: npm run build
# run tests
- name: Run jest unit tests
run: npm run test:report
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage
verbose: true
dependabot-auto-merge:
needs: [test]
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
if: ${{(steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor')}}
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}