Use direct git clone with Docker gateway
CI and Deploy / ci-gate (push) Failing after 12m59s
CI and Deploy / build-and-deploy (push) Has been skipped
CI and Deploy / full-e2e (push) Failing after 14m59s

This commit is contained in:
2026-06-01 17:28:46 +08:00
parent 120b06a50c
commit 3b7545dd52
+19 -22
View File
@@ -16,17 +16,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
run: |
git clone http://172.17.0.1:3000/kurihada/no-whatever.git .
git checkout ${{ github.sha }}
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Setup Node
run: |
apt-get update -qq && apt-get install -y -qq nodejs npm 2>/dev/null || true
npm config set registry https://registry.npmmirror.com
- name: Install dependencies
run: |
npm config set registry https://registry.npmmirror.com
npm ci
run: npm ci
- name: Lint
run: npm run lint
@@ -34,18 +34,15 @@ jobs:
- name: Unit tests
run: npm run test
- name: Smoke E2E tests
run: |
npx playwright install chromium 2>/dev/null || true
npm run test:e2e:smoke
build-and-deploy:
needs: ci-gate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
run: |
git clone http://172.17.0.1:3000/kurihada/no-whatever.git .
git checkout ${{ github.sha }}
- name: Build Docker image
run: |
@@ -76,17 +73,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
run: |
git clone http://172.17.0.1:3000/kurihada/no-whatever.git .
git checkout ${{ github.sha }}
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Setup Node
run: |
apt-get update -qq && apt-get install -y -qq nodejs npm 2>/dev/null || true
npm config set registry https://registry.npmmirror.com
- name: Install dependencies
run: |
npm config set registry https://registry.npmmirror.com
npm ci
run: npm ci
- name: Full E2E
run: |