Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: fisker Cheung <lionkay@gmail.com>
44 lines
954 B
YAML
44 lines
954 B
YAML
name: Internal_ESLint_Rules_Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- patch-release
|
|
- next
|
|
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@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
cache: "yarn"
|
|
|
|
- name: Install Dependencies
|
|
run: yarn install --immutable
|
|
|
|
- name: Test
|
|
run: cd scripts/tools/eslint-plugin-prettier-internal-rules && yarn test-coverage
|