CI test with pnpm generate
This commit is contained in:
5
.github/workflows/deploy.yml
vendored
5
.github/workflows/deploy.yml
vendored
@@ -31,10 +31,7 @@ jobs:
|
||||
|
||||
- run: npm install -g pnpm wait-on
|
||||
- run: pnpm install --frozen-lockfile --prod
|
||||
- run: pnpm start > server.log 2>&1 &
|
||||
- run: tail -n 20 server.log
|
||||
- run: wait-on http://localhost:3000 --timeout 60000
|
||||
- run: curl -f http://localhost:3000 || (cat server.log && exit 1)
|
||||
- run: pnpm generate
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
Reference in New Issue
Block a user