From 69780abaf3457e637805effbb8b7f072f7e54b88 Mon Sep 17 00:00:00 2001 From: Davis Hoang Date: Sun, 1 Dec 2024 15:11:52 +0800 Subject: [PATCH 1/2] Update pullrequest.yml --- .github/workflows/pullrequest.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 212809e..1b1c20c 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -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 @@ -21,19 +21,19 @@ jobs: - name: dotnet build run: dotnet build --configuration Release - # Set up Node.js + build_react: + runs-on: ubuntu-latest + steps: - 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 From b48a81b292d811fcfaf2d3e202b48f6a0e773417 Mon Sep 17 00:00:00 2001 From: Davis Hoang Date: Sun, 1 Dec 2024 15:14:30 +0800 Subject: [PATCH 2/2] Update pullrequest.yml --- .github/workflows/pullrequest.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 1b1c20c..8138e1c 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -24,6 +24,9 @@ jobs: build_react: runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up Node.js uses: actions/setup-node@v3 with: