Files
test-repo/.github/workflows/eslint-rules.yml
T
renovate[bot] fdd766602e Update actions/checkout to v7 (#19405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-20 05:03:42 +08:00

47 lines
1.1 KiB
YAML

name: Internal ESLint Plugin Test
on:
push:
branches:
- main
- next
- v*
- patch-release
- "!renovate/**"
paths:
- "scripts/tools/eslint-plugin-prettier-internal-rules/**"
# This workflow file
- ".github/workflows/eslint-rules.yml"
pull_request:
paths:
- "scripts/tools/eslint-plugin-prettier-internal-rules/**"
# This workflow file
- ".github/workflows/eslint-rules.yml"
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
cache: "yarn"
- name: Install Dependencies
run: yarn install --immutable
- name: Test
working-directory: scripts/tools/eslint-plugin-prettier-internal-rules
run: yarn test-coverage