Skip to content

Commit f070652

Browse files
authored
ci: run update-lexicons.yml every hour (#57)
1 parent 25dc965 commit f070652

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
pull-requests: write
2121
steps:
2222
- uses: actions/checkout@v4
23-
- run: corepack enable
23+
- uses: pnpm/action-setup@v4
2424
- uses: actions/setup-node@v4
2525
with:
2626
node-version: 20

.github/workflows/update-lexicons.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
push:
77
branches:
88
- main
9+
schedule:
10+
- cron: '0 * * * *'
911
workflow_dispatch: {}
1012
merge_group: {}
1113

@@ -19,7 +21,7 @@ jobs:
1921
- uses: actions/checkout@v4
2022
with:
2123
ref: ${{ github.head_ref || github.ref_name }}
22-
- run: corepack enable
24+
- uses: pnpm/action-setup@v4
2325
- uses: actions/setup-node@v4
2426
with:
2527
node-version: 20

0 commit comments

Comments
 (0)