From 228c20188fa4d1c4f919ec3a0080ccd0bde5138e Mon Sep 17 00:00:00 2001 From: "agile.zhou" Date: Fri, 26 Jan 2024 20:59:52 +0800 Subject: [PATCH] Update master ci yml --- .github/workflows/master-ci.yml | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/.github/workflows/master-ci.yml b/.github/workflows/master-ci.yml index 8b60260c..5224208a 100644 --- a/.github/workflows/master-ci.yml +++ b/.github/workflows/master-ci.yml @@ -6,6 +6,24 @@ on: paths-ignore: - '**/*.md' jobs: + build-reactapp: + runs-on: ubuntu-latest + defaults: + run: + working-directory: src/AgileConfig.Server.UI/react-ui-antd + strategy: + matrix: + node-version: [16.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + + - run: npm install + - run: npm run build build-dotnet: runs-on: ubuntu-latest @@ -21,14 +39,3 @@ jobs: run: dotnet build --no-restore - name: Test run: dotnet test --no-build --verbosity normal - - uses: actions/download-artifact@v2 - with: - name: agileconfig-ui - path: src/AgileConfig.Server.Apisite/wwwroot/ui - - name: Push to Docker Hub - uses: docker/build-push-action@v1 - with: - username: ${{ secrets.DOCKER_HUB_NAME }} - password: ${{ secrets.DOCKER_HUB_PASSWORD }} - repository: kklldog/agile_config - tags: test