Skip to content

Commit

Permalink
Merge pull request #15 from Dhruv-Techapps/feature/reorder
Browse files Browse the repository at this point in the history
Sort Actions Asc | Desc
  • Loading branch information
dharmesh-hemaram authored Oct 2, 2023
2 parents c6301a7 + 20a7806 commit fbfd7e7
Show file tree
Hide file tree
Showing 10 changed files with 1,124 additions and 1,111 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/push-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@ jobs:
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/*'
parallel-commands: |
npx nx-cloud record -- npx nx format:check
environment-variables: |
NX_NAME=${{needs.EnvSetup.outputs.NX_NAME}}
NX_VARIANT=${{needs.EnvSetup.outputs.NX_VARIANT}}
Expand All @@ -84,12 +83,10 @@ jobs:
DISCORD_CLIENT_ID=${{needs.EnvSetup.outputs.DISCORD_CLIENT_ID}}
OAUTH_CLIENT_ID=${{needs.EnvSetup.outputs.OAUTH_CLIENT_ID}}
PUBLIC_URL=${{needs.EnvSetup.outputs.PUBLIC_URL}}
init-commands: |
ls
parallel-commands-on-agents: |
npx nx run-many --target=lint --parallel=3
npx nx run-many --target=test --parallel=3 --exclude='tag:puppeteer' --ci --code-coverage
npx nx run-many --target=build --parallel=3 --exclude='tag:puppeteer'
npx nx affected --target=lint --parallel=3
npx nx affected --target=test --parallel=3 --exclude='tag:puppeteer' --ci --code-coverage
npx nx affected --target=build --parallel=3 --exclude='tag:puppeteer'
agents:
needs: [EnvSetup]
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,7 @@ jobs:
DISCORD_CLIENT_ID=${{needs.EnvSetup.outputs.DISCORD_CLIENT_ID}}
OAUTH_CLIENT_ID=${{needs.EnvSetup.outputs.OAUTH_CLIENT_ID}}
PUBLIC_URL=${{needs.EnvSetup.outputs.PUBLIC_URL}}
init-commands: |
ls
parallel-commands-on-agents: |
npx nx run-many --target=lint --parallel=3
npx nx run-many --target=test --parallel=3 --exclude='tag:puppeteer' --ci --code-coverage
npx nx run-many --target=build --parallel=3 --exclude='tag:puppeteer'
final-commands: |
TARGET_FILE="./dist/apps/acf-extension/manifest.json"
Expand All @@ -108,7 +104,7 @@ jobs:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }}
with:
number-of-agents: 3
number-of-agents: 2
environment-variables: |
NX_NAME=${{needs.EnvSetup.outputs.NX_NAME}}
NX_VARIANT=${{needs.EnvSetup.outputs.NX_VARIANT}}
Expand Down
Loading

0 comments on commit fbfd7e7

Please sign in to comment.