Skip to content

Commit

Permalink
Merge pull request #11 from davishoang96/parallel-build-pullrequest
Browse files Browse the repository at this point in the history
Update pullrequest.yml
  • Loading branch information
davishoang96 authored Dec 1, 2024
2 parents 09cca13 + b48a81b commit d2cf27e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on:
pull_request:
branches:
- main

jobs:
build:
build_dotnet:
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: Checkout
uses: actions/checkout@v4

- name: Set up .NET Core
Expand All @@ -21,19 +21,22 @@ jobs:
- name: dotnet build
run: dotnet build --configuration Release

# Set up Node.js
build_react:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- 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
Expand Down

0 comments on commit d2cf27e

Please sign in to comment.