Rewrite CI workflows: raw shell commands instead of marketplace actions

Host-mode act_runner can't resolve actions/checkout or actions/setup-node.
Replaced with direct git clone + npm ci + tsc + npm test.
This commit is contained in:
2026-03-01 06:46:43 +00:00
parent 68140881e0
commit 45cba90ff9
6 changed files with 52 additions and 81 deletions

View File

@@ -10,20 +10,16 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- name: Checkout
run: |
git clone --depth=1 http://192.168.86.11:3005/jarvis/dd0c.git $GITHUB_WORKSPACE || true
cd $GITHUB_WORKSPACE
- name: Install deps
run: npm ci
working-directory: products/04-lightweight-idp
run: cd $GITHUB_WORKSPACE/products/04-lightweight-idp && npm ci
- name: Type check
run: npx tsc --noEmit
working-directory: products/04-lightweight-idp
run: cd $GITHUB_WORKSPACE/products/04-lightweight-idp && npx tsc --noEmit
- name: Test
run: npm test
working-directory: products/04-lightweight-idp
run: cd $GITHUB_WORKSPACE/products/04-lightweight-idp && npm test