Skip to content

build(deps-dev): bump eslint from 9.37.0 to 9.38.0 #414

build(deps-dev): bump eslint from 9.37.0 to 9.38.0

build(deps-dev): bump eslint from 9.37.0 to 9.38.0 #414

Workflow file for this run

name: CI
on: pull_request
jobs:
linter:
name: 'lint checks'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5.0.0
with:
node-version: 20
- name: 'Install dependencies'
run: npm install
- name: 'Run type checking'
run: npm run type-check
- name: 'Run linter'
run: npm run lint
- name: 'Build userscripts'
run: npm run build
auto-merge:
name: 'dependabot-auto-merge'
needs: linter
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: automerge
uses: actions/github-script@v8.0.0
with:
script: |
github.rest.pullRequests.createReview({
owner: context.payload.repository.owner.login,
repo: context.payload.repository.name,
pull_number: context.payload.pull_request.number,
event: 'APPROVE'
})
github.rest.pullRequests.merge({
owner: context.payload.repository.owner.login,
repo: context.payload.repository.name,
pull_number: context.payload.pull_request.number
})
github-token: ${{github.token}}