Skip to content

Commit 9e7b3d6

Browse files
committed
split jobs
1 parent ea0efb6 commit 9e7b3d6

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

.github/workflows/docs-validation.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
- name: Check links
5252
run: lychee --verbose --no-progress './out/**/*.html'
5353

54-
code-validate:
55-
name: Code snippet and GraphQL validation
54+
lint:
55+
name: Linting
5656
runs-on: ubuntu-latest
5757
steps:
5858
- uses: actions/checkout@v4
@@ -66,8 +66,23 @@ jobs:
6666
- name: Install Dependencies
6767
run: pnpm i
6868

69-
- name: Run validation w/ annotations
69+
- name: Run linting
7070
run: pnpm lint:docs
7171

72+
code-validate:
73+
name: Snippet validation
74+
runs-on: ubuntu-latest
75+
steps:
76+
- uses: actions/checkout@v4
77+
78+
- uses: the-guild-org/shared-config/setup@main
79+
name: setup env
80+
with:
81+
packageManager: pnpm
82+
workingDirectory: ./
83+
84+
- name: Install Dependencies
85+
run: pnpm i
86+
7287
- name: Validate code snippets
7388
run: pnpm validate:snippets

0 commit comments

Comments
 (0)