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