CI: simplified workflow with pre-built CI image
This commit is contained in:
@@ -20,11 +20,6 @@ jobs:
|
||||
git clone http://172.17.0.1:3000/kurihada/no-whatever.git .
|
||||
git checkout ${{ github.sha }}
|
||||
|
||||
- name: Install Node.js
|
||||
run: |
|
||||
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
|
||||
|
||||
@@ -80,16 +75,10 @@ jobs:
|
||||
git clone http://172.17.0.1:3000/kurihada/no-whatever.git .
|
||||
git checkout ${{ github.sha }}
|
||||
|
||||
- name: Install Node.js
|
||||
run: |
|
||||
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: Full E2E
|
||||
run: |
|
||||
npx prisma generate
|
||||
npx playwright install chromium 2>/dev/null || true
|
||||
npm run test:e2e
|
||||
|
||||
Reference in New Issue
Block a user