forked from prettier/prettier
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 962 Bytes
/
eslint-rules.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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/[email protected]
- name: Setup Node.js
uses: actions/[email protected]
with:
cache: "yarn"
- name: Install Dependencies
run: yarn install --immutable
- name: Test
run: cd scripts/tools/eslint-plugin-prettier-internal-rules && yarn test-coverage