Skip to content

Commit 7d0eb21

Browse files
committed
Add integration workflow
1 parent ff5226f commit 7d0eb21

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Verify all i18n files are alphabetized
2+
3+
on:
4+
push:
5+
paths:
6+
- client/strings/** # Should only check if any strings changed
7+
8+
jobs:
9+
update_translations:
10+
runs-on: ubuntu-latest
11+
steps:
12+
# Check out the repository
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
# Set up node to run the javascript
17+
- name: Set up node
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: "20"
21+
22+
# The only argument is the `directory`, which is where the i18n files are
23+
# stored.
24+
- name: Run Update JSON Files action
25+
uses: audiobookshelf/audiobookshelf-i18n-updater@v1.1.1
26+
with:
27+
directory: "client/strings/" # Adjust the directory path as needed

0 commit comments

Comments
 (0)