Skip to content

Commit 411b224

Browse files
committed
add a nightly test against prettier@latest
1 parent 2957475 commit 411b224

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/nightly.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Nightly Prettier Latest
2+
3+
on:
4+
schedule:
5+
- cron: '0 2 * * *' # Runs at 02:00 UTC daily
6+
workflow_dispatch: # Allows manual trigger
7+
8+
jobs:
9+
test-prettier-latest:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v6
14+
15+
- uses: pnpm/action-setup@v4
16+
with:
17+
run_install: false
18+
19+
- uses: actions/setup-node@v6
20+
with:
21+
node-version: '24'
22+
cache: 'pnpm'
23+
24+
- run: pnpm add -D prettier@latest -w
25+
26+
- run: pnpm install --frozen-lockfile
27+
28+
- run: pnpm test

0 commit comments

Comments
 (0)