Files
test-repo/.github/workflows/eslint-rules.yml
T
dependabot[bot] 58e1ca4168 Build(deps): Bump actions/setup-node from 2.3.0 to 2.4.0 (#11317)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-08 17:43:01 +08:00

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.3.4
- name: Setup Node.js
uses: actions/setup-node@v2.4.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