Skip to content

Commit

Permalink
Update pullrequest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
davishoang96 authored Dec 1, 2024
1 parent 0c95190 commit a732cc6
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches:
- main
- migrate-blazor-auto
- migrate-blazor-autohttps://github.com/davishoang96/QuizApp/settings

jobs:
build:
Expand All @@ -21,3 +21,21 @@ jobs:

- name: dotnet build
run: dotnet build --configuration Release

# Set up Node.js
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

# Install dependencies for React app
- name: Install React dependencies
run: |
cd QuizApp.Client
npm install
# Build the React app
- name: Build React app
run: |
cd QuizApp.Client
npm run build

0 comments on commit a732cc6

Please sign in to comment.