diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 031ca0e..8a0f6dd 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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