Skip to content

docs: fix code coverage option #134

docs: fix code coverage option

docs: fix code coverage option #134

name: CI - integration test artifacts
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
jobs:
main:
name: Nx Cloud - Main Job
uses: ./.github/workflows/nx-cloud-main.yml
with:
working-directory: ./integration-tests/npm
parallel-commands-on-agents: |
npx nx run react-app:build
artifacts-path: ./integration-tests/npm/dist/
agents:
name: Nx Cloud - Agents
uses: ./.github/workflows/nx-cloud-agents.yml
with:
working-directory: ./integration-tests/npm
number-of-agents: 1
check-artifact:
needs: main
runs-on: ubuntu-latest
steps:
- name: "Downloading artifacts"
uses: actions/download-artifact@v4
with:
name: nx-main-artifacts
path: dist
- run: node -e "if(fs.existsSync('dist/apps/react-app')) console.log('Artifacts are here...'); else { throw new Error('Artifacts do not exist!');}"