Repository navigation
feat: Agoda.DevExTelemetry full-stack implementation #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build & Test | |
| on: | |
| push: | |
| branches: [main, feature/*] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| backend: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - run: dotnet restore | |
| working-directory: src | |
| - run: dotnet build --no-restore | |
| working-directory: src | |
| - run: dotnet test --no-build --verbosity normal | |
| working-directory: src | |
| frontend: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| cache-dependency-path: src/Clientside/package-lock.json | |
| - run: npm ci --legacy-peer-deps | |
| working-directory: src/Clientside | |
| - run: npm run build | |
| working-directory: src/Clientside |