Skip to content

Commit

Permalink
update build yml and fix spelling of Raspberry
Browse files Browse the repository at this point in the history
  • Loading branch information
OfekShaltiel-UTD committed Dec 7, 2024
1 parent ca23689 commit 8294d78
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/next.js.yml → .github/workflows/nuxt.js.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Sample workflow for building and deploying a Next.js site to GitHub Pages
# workflow for building and deploying a Nuxt.js site to GitHub Pages
#
# To get started with Next.js see: https://nextjs.org/docs/getting-started
#
name: Test Next.js build
name: Test Nuxt.js build

on:
# Runs on pushes targeting the default branch
Expand All @@ -18,10 +17,7 @@ on:
workflow_dispatch:

env:
POSTGRES_PORT: 5432
POSTGRES_PASSWORD: postgres
PRISMA_DB_URL: "postgresql://postgres:postgres@localhost:5432/postgres"

PRISMA_DB_URL: "file:dev.db"
jobs:
# Build job
build:
Expand All @@ -48,11 +44,11 @@ jobs:
run: npm ci
- name: Create Prisma Generator
run: |
if [ grep -q '^model*' ${{ github.workspace }}/prisma/schema.prisma ]; then
npm prisma generate
if ! [ grep -q '^model*' ${{ github.workspace }}/prisma/schema.prisma ]; then
npx prisma generate
else
echo "No models defined in 'prisma.schema'. Prisma Client NOT generated"
fi
exit 0
- name: Build with Next.js
- name: Build with Nuxt.js
run: npm run build
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"postinstall": "nuxt prepare",
"bootgame": "tsx server/Game_Manager/src/index.ts",
"bootcontrol": "tsx server/Controller/src/index.ts",
"bootpi": "tsx server/Rasberri/src/index.ts"
"bootpi": "tsx server/Raspberry/src/index.ts"

},
"dependencies": {
Expand Down
File renamed without changes.

0 comments on commit 8294d78

Please sign in to comment.