Skip to content

Bump eslint-config-next from 13.5.4 to 15.1.4 #1714

Bump eslint-config-next from 13.5.4 to 15.1.4

Bump eslint-config-next from 13.5.4 to 15.1.4 #1714

Workflow file for this run

name: textlint
on:
pull_request:
types: [opened, edited, reopened, ready_for_review]
push:
workflow_dispatch:
jobs:
textlint:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Switch to pull request branch
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup node with cache
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install packages via packages.json
run: npm install
- name: Run textlint
run: |
if [ -e github.event.pull_request.html_url ]; then
gh pr comment --body "Comment from :policeman: is here `npx textlint ./README.md`" "${URL}"
else
npx textlint ./README.md
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
URL: ${{ github.event.pull_request.html_url }}