Skip to content

Commit 4c9b601

Browse files
committed
Improve website workflows
1 parent 4c357d9 commit 4c9b601

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Check Website
2+
3+
on:
4+
pull_request:
5+
push:
6+
paths:
7+
- ".github/workflows/check-website.yml"
8+
- "docs/**"
9+
- "pnpm-lock.json"
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: false
14+
15+
jobs:
16+
check:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v6
21+
22+
- name: Install pnpm
23+
uses: pnpm/action-setup@v4
24+
25+
- name: Use Node.js
26+
uses: actions/setup-node@v6
27+
with:
28+
node-version: 22
29+
cache: "pnpm"
30+
31+
- name: Install dependencies
32+
run: pnpm install --filter @fedimod/fires-docs
33+
34+
- name: Check formatting
35+
run: pnpm --filter @fedimod/fires-docs -r format:check

.github/workflows/deploy-website.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Deploy Website
22

33
on:
44
push:
5+
paths:
6+
- ".github/workflows/deploy-website.yml"
7+
- "docs/**"
8+
- "pnpm-lock.json"
59
workflow_dispatch:
610

711
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages

0 commit comments

Comments
 (0)