Skip to content

Commit

Permalink
test 6
Browse files Browse the repository at this point in the history
  • Loading branch information
dharmesh-hemaram committed Sep 12, 2023
1 parent ed28366 commit e8bebd1
Showing 1 changed file with 25 additions and 22 deletions.
47 changes: 25 additions & 22 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,31 @@ concurrency:

jobs:
main:
name: Nx Cloud - Main Job
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.13.0
secrets:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }}
with:
parallel-commands: |
npx nx-cloud record -- npx nx format:check
artifacts-path: 'dist/apps/*'
environment-variables: |
UNINSTALL_URL=${{vars.UNINSTALL_URL}}
TRACKING_ID=${{vars.TRACKING_ID}}
OPTIONS_PAGE_URL=${{vars.OPTIONS_PAGE_URL}}
FUNCTION_URL=${{vars.FUNCTION_URL}}
VARIANT=${{vars.VARIANT}}
DISCORD_CLIENT_ID=${{vars.DISCORD_CLIENT_ID}}
NAME=${{vars.NAME}}
TEST=true
parallel-commands-on-agents: |
npx nx affected --target=lint --parallel=3
npx nx affected --target=test --parallel=3 --ci --code-coverage
npx nx affected --target=build --parallel=3
runs-on: ubuntu-latest
environment: Development
steps:
name: Nx Cloud - Main Job
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.13.0
secrets:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }}
with:
parallel-commands: |
npx nx-cloud record -- npx nx format:check
artifacts-path: 'dist/apps/*'
environment-variables: |
UNINSTALL_URL=${{vars.UNINSTALL_URL}}
TRACKING_ID=${{vars.TRACKING_ID}}
OPTIONS_PAGE_URL=${{vars.OPTIONS_PAGE_URL}}
FUNCTION_URL=${{vars.FUNCTION_URL}}
VARIANT=${{vars.VARIANT}}
DISCORD_CLIENT_ID=${{vars.DISCORD_CLIENT_ID}}
NAME=${{vars.NAME}}
TEST=true
parallel-commands-on-agents: |
npx nx affected --target=lint --parallel=3
npx nx affected --target=test --parallel=3 --ci --code-coverage
npx nx affected --target=build --parallel=3
agents:
name: Nx Cloud - Agents
Expand Down

0 comments on commit e8bebd1

Please sign in to comment.