-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: lint | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '20' | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: '8.5.0' | ||
run_install: false | ||
- name: Install dependencies | ||
run: pnpm i | ||
- name: Lint | ||
run: pnpm run lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Ninja i18n action | ||
|
||
on: pull_request_target | ||
|
||
# explicitly configure permissions, in case your GITHUB_TOKEN workflow permissions are set to read-only in repository settings | ||
permissions: | ||
pull-requests: write # Necessary to comment on PRs | ||
issues: read # Necessary to read issue comments | ||
contents: read # Necessary to access the repo content | ||
|
||
jobs: | ||
ninja-i18n: | ||
name: Ninja i18n - GitHub Lint Action | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Run Ninja i18n | ||
# @main ensures that the latest version of the action is used | ||
uses: opral/ninja-i18n-action@main | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,5 @@ dist-ssr | |
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
!project.inlang |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"$schema": "https://inlang.com/schema/project-settings", | ||
"sourceLanguageTag": "en", | ||
"languageTags": [ | ||
"en", | ||
"ar-SA", | ||
"ca-ES", | ||
"ckb-KU", | ||
"cs-CZ", | ||
"de-DE", | ||
"es-VE", | ||
"eu-ES", | ||
"fa", | ||
"fr-CA", | ||
"fr-FR", | ||
"he", | ||
"hu-HU", | ||
"id-ID", | ||
"it-IT", | ||
"ja-JP", | ||
"ko-KR", | ||
"pl-PL", | ||
"pt-BR", | ||
"pt-PT", | ||
"ru-RU", | ||
"sv-SE", | ||
"th-TH", | ||
"tr-TR", | ||
"uk-UA", | ||
"vi", | ||
"vi-VN", | ||
"zh-CN", | ||
"zh-TW" | ||
], | ||
"modules": [ | ||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@1/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-identical-pattern@1/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@1/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@1/dist/index.js" | ||
], | ||
"plugin.inlang.json": { | ||
"pathPattern": "./src/locales/{language}.json", | ||
"variableReferencePattern": [ | ||
"{{", | ||
"}}" | ||
] | ||
} | ||
} |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.