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 clone http://172.17.0.1:3000/kurihada/no-whatever.git .
|
||||||
git checkout ${{ github.sha }}
|
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
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
@@ -80,16 +75,10 @@ jobs:
|
|||||||
git clone http://172.17.0.1:3000/kurihada/no-whatever.git .
|
git clone http://172.17.0.1:3000/kurihada/no-whatever.git .
|
||||||
git checkout ${{ github.sha }}
|
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
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Full E2E
|
- name: Full E2E
|
||||||
run: |
|
run: |
|
||||||
npx prisma generate
|
npx prisma generate
|
||||||
npx playwright install chromium 2>/dev/null || true
|
|
||||||
npm run test:e2e
|
npm run test:e2e
|
||||||
|
|||||||
Reference in New Issue
Block a user