Optimize workflow with proper tool installation
CI and Deploy / build-and-deploy (push) Blocked by required conditions
CI and Deploy / full-e2e (push) Blocked by required conditions
CI and Deploy / ci-gate (push) Has started running

This commit is contained in:
2026-06-01 17:57:58 +08:00
parent 3b7545dd52
commit 48a20c800d
+7 -4
View File
@@ -20,14 +20,17 @@ jobs:
git clone http://172.17.0.1:3000/kurihada/no-whatever.git .
git checkout ${{ github.sha }}
- name: Setup Node
- name: Install Node.js
run: |
apt-get update -qq && apt-get install -y -qq nodejs npm 2>/dev/null || true
apt-get update -qq && apt-get install -y -qq nodejs npm
npm config set registry https://registry.npmmirror.com
- name: Install dependencies
run: npm ci
- name: Generate Prisma
run: npx prisma generate
- name: Lint
run: npm run lint
@@ -77,9 +80,9 @@ jobs:
git clone http://172.17.0.1:3000/kurihada/no-whatever.git .
git checkout ${{ github.sha }}
- name: Setup Node
- name: Install Node.js
run: |
apt-get update -qq && apt-get install -y -qq nodejs npm 2>/dev/null || true
apt-get update -qq && apt-get install -y -qq nodejs npm
npm config set registry https://registry.npmmirror.com
- name: Install dependencies