From 6ee3834cb6359a04d60c1edae8cb9c3868a02ed0 Mon Sep 17 00:00:00 2001 From: lhl2617 Date: Tue, 8 Jun 2021 00:53:09 +0100 Subject: [PATCH 1/2] Add github action --- .github/workflows/main.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..e60bcad --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,28 @@ +name: Main + +on: push + +jobs: + main: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-latest, ubuntu-latest, windows-latest] + fail-fast: false + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Setup NodeJS + uses: actions/setup-node@v2 + with: + node-version: '12.x' + - name: Setup dotnet + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '3.1.x' # SDK Version to use; x will use the latest version of the 3.1 channel + - name: Install dependencies + run: npm i + - name: Run Dotnet Build + run: dotnet build src/QuickStart.sln + - name: Run + run: npm start From 0b5fce2d7e980b486948cb10234ce52c4ecce26a Mon Sep 17 00:00:00 2001 From: agracio Date: Tue, 26 Dec 2023 18:43:53 +0000 Subject: [PATCH 2/2] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e60bcad..ae3e6b9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: - name: Setup NodeJS uses: actions/setup-node@v2 with: - node-version: '12.x' + node-version: '20.x' - name: Setup dotnet uses: actions/setup-dotnet@v1 with: