Skip to content

Commit 42f2eb9

Browse files
committed
Fix build workflow
1 parent 62d628d commit 42f2eb9

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -38,37 +38,37 @@ jobs:
3838
- name: Run Biome
3939
run: biome ci .
4040

41-
translation-check:
42-
name: Translation Check (On PR Only)
43-
timeout-minutes: 5
44-
runs-on: ubuntu-latest
45-
permissions:
41+
translation-check:
42+
name: Translation Check (On PR Only)
43+
timeout-minutes: 5
44+
runs-on: ubuntu-latest
45+
permissions:
4646
contents: read
4747
pull-requests: read
48-
if: github.event_name == 'pull_request'
49-
steps:
50-
- name: Checkout Repository
51-
uses: actions/checkout@v5
52-
- name: Use Node.js
53-
uses: actions/setup-node@v5
54-
with:
55-
cache: npm
56-
cache-dependency-path: '**/package-lock.json'
57-
58-
- name: Detect Changed Files
59-
uses: dorny/paths-filter@v3
60-
id: file-changes
61-
with:
62-
list-files: shell
63-
filters: |
64-
translation:
65-
- 'src/lang/*.json'
66-
token: ${{ secrets.GITHUB_TOKEN }}
67-
- name: Translation Files Check (if changed)
68-
if: steps.file-changes.outputs.translation == 'true'
69-
run: |
70-
npm ci --no-audit --no-fund
71-
npm run lang check
48+
if: github.event_name == 'pull_request'
49+
steps:
50+
- name: Checkout Repository
51+
uses: actions/checkout@v5
52+
- name: Use Node.js
53+
uses: actions/setup-node@v5
54+
with:
55+
cache: npm
56+
cache-dependency-path: '**/package-lock.json'
57+
58+
- name: Detect Changed Files
59+
uses: dorny/paths-filter@v3
60+
id: file-changes
61+
with:
62+
list-files: shell
63+
filters: |
64+
translation:
65+
- 'src/lang/*.json'
66+
token: ${{ secrets.GITHUB_TOKEN }}
67+
- name: Translation Files Check (if changed)
68+
if: steps.file-changes.outputs.translation == 'true'
69+
run: |
70+
npm ci --no-audit --no-fund
71+
npm run lang check
7272
7373
build:
7474
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)