Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
47 lines
1.1 KiB
YAML
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.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
|