31 lines
730 B
YAML
31 lines
730 B
YAML
name: Internal_ESLint_Rules_Test
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "scripts/tools/eslint-plugin-prettier-internal-rules/**"
|
|
- ".github/workflows/eslint-rules.yml"
|
|
pull_request:
|
|
paths:
|
|
- "scripts/tools/eslint-plugin-prettier-internal-rules/**"
|
|
- ".github/workflows/eslint-rules.yml"
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2.4.0
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v2.5.0
|
|
with:
|
|
cache: "yarn"
|
|
|
|
- name: Install Dependencies
|
|
run: yarn install --frozen-lockfile
|
|
|
|
- name: Test
|
|
run: cd scripts/tools/eslint-plugin-prettier-internal-rules && yarn test-coverage
|