mirror of
https://github.com/infinilabs/coco-app.git
synced 2025-12-16 11:37:47 +01:00
ci: fix fontend-ci.yml syntax error (#932)
* ci: fix fontend-ci.yml syntax error * more to fix * remove file foo
This commit is contained in:
4
.github/workflows/frontend-ci.yml
vendored
4
.github/workflows/frontend-ci.yml
vendored
@@ -33,7 +33,7 @@ jobs:
|
|||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Switch platformAdapter to Web adapter
|
- name: Switch platformAdapter to Web adapter
|
||||||
shell: bash
|
shell: bash
|
||||||
run: >
|
run: >
|
||||||
node -e "const fs=require('fs');const f='src/utils/platformAdapter.ts';
|
node -e "const fs=require('fs');const f='src/utils/platformAdapter.ts';
|
||||||
let s=fs.readFileSync(f,'utf8');
|
let s=fs.readFileSync(f,'utf8');
|
||||||
@@ -45,6 +45,7 @@ jobs:
|
|||||||
run: pnpm build:web
|
run: pnpm build:web
|
||||||
|
|
||||||
- name: Verify no Tauri refs in web output
|
- name: Verify no Tauri refs in web output
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if grep -R -n -E '@tauri-apps|tauri-plugin' out/search-chat; then
|
if grep -R -n -E '@tauri-apps|tauri-plugin' out/search-chat; then
|
||||||
echo 'Tauri references found in web build output';
|
echo 'Tauri references found in web build output';
|
||||||
@@ -54,6 +55,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Restore platformAdapter to Tauri adapter
|
- name: Restore platformAdapter to Tauri adapter
|
||||||
|
shell: bash
|
||||||
run: >
|
run: >
|
||||||
node -e "const fs=require('fs');const f='src/utils/platformAdapter.ts';
|
node -e "const fs=require('fs');const f='src/utils/platformAdapter.ts';
|
||||||
let s=fs.readFileSync(f,'utf8');
|
let s=fs.readFileSync(f,'utf8');
|
||||||
|
|||||||
Reference in New Issue
Block a user