Skip to content

fix: do not fallback to latest if pnpm version is missing #101

fix: do not fallback to latest if pnpm version is missing

fix: do not fallback to latest if pnpm version is missing #101

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@v3
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!');}"