Files
test-repo/.github/workflows/eslint-rules.yml
T
renovate[bot] 4a4c521e73 chore(deps): update actions/checkout action to v3.2.0 (#14017)
Update actions/checkout action to v3.2.0

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-18 11:25:44 +08:00

44 lines
962 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@v3.2.0
- name: Setup Node.js
uses: actions/setup-node@v3.5.1
with:
cache: "yarn"
- name: Install Dependencies
run: yarn install --immutable
- name: Test
run: cd scripts/tools/eslint-plugin-prettier-internal-rules && yarn test-coverage