Skip to content

Commit

Permalink
Fix CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpojer committed Dec 10, 2024
1 parent 948e27f commit 2b21d93
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ jobs:
restore-keys: ${{ runner.os }}-pnpm-store-

- name: Run setup
run: pnpm install && pnpm build:all && cd example && pnpm build:fbt
# Execute install twice to ensure links are created after the first build.
run: pnpm install && pnpm build:all && pnpm install && cd example && pnpm build:fbt

- name: Run tests
run: pnpm test
10 changes: 5 additions & 5 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"build:fbt": "pnpm fbt:manifest && pnpm fbt:collect && pnpm fbt:translate && pnpm fbt:translate-multiple && pnpm fbt:translate-single",
"clean:fbt": "rm -rf .enum_manifest.json .src_manifest.json .source_strings.json src/translatedFbts.json src/translatedFbts .test_*.json 2&> /dev/null || exit 0",
"dev": "vite",
"fbt:collect": "pnpm fbt collect --fbt-common-path ./common_strings.json --pretty --manifest < .src_manifest.json > .source_strings.json",
"fbt:manifest": "pnpm fbt manifest --src src",
"fbt:translate": "pnpm fbt translate --translations translations/*.json --jenkins > src/translatedFbts.json",
"fbt:translate-multiple": "pnpm fbt translate --translations translations/*.json --jenkins --output-dir src/translatedFbts",
"fbt:translate-single": "pnpm fbt translate --jenkins --stdin < translation_input.json > src/translatedFbts.json"
"fbt:collect": "fbt collect --fbt-common-path ./common_strings.json --pretty --manifest < .src_manifest.json > .source_strings.json",
"fbt:manifest": "fbt manifest --src src",
"fbt:translate": "fbt translate --translations translations/*.json --jenkins > src/translatedFbts.json",
"fbt:translate-multiple": "fbt translate --translations translations/*.json --jenkins --output-dir src/translatedFbts",
"fbt:translate-single": "fbt translate --jenkins --stdin < translation_input.json > src/translatedFbts.json"
},
"dependencies": {
"babel-plugin-fbt": "workspace:*",
Expand Down

0 comments on commit 2b21d93

Please sign in to comment.