Skip to content

Commit 09fd6f3

Browse files
committed
separate lint job
1 parent c9c0abf commit 09fd6f3

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/gh-pages.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,22 @@ permissions:
1111
id-token: write
1212

1313
jobs:
14+
lint:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- uses: pnpm/action-setup@v3
20+
with:
21+
version: 9
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version: 20
25+
cache: 'pnpm'
26+
run: pnpm install --frozen-lockfile
27+
- name: Lint
28+
run: pnpm run lint
29+
1430
build:
1531
runs-on: ubuntu-latest
1632
steps:
@@ -29,8 +45,6 @@ jobs:
2945
static_site_generator: gatsby
3046
- name: Install dependencies
3147
run: pnpm install --frozen-lockfile
32-
- name: Lint
33-
run: pnpm run lint
3448
- name: Build
3549
run: pnpm run build
3650
- name: Upload artifact

0 commit comments

Comments
 (0)