Skip to content

Commit

Permalink
fix(ci): remove nx cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
AhsanAyaz committed Mar 25, 2024
1 parent c46ea1b commit 8b8be3a
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 15 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/sanity.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Sanity
on:
push:
branches:
- main
pull_request:
branches:
- main
Expand Down
1 change: 0 additions & 1 deletion codewithahsan/nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,5 @@
"style": "scss"
}
},
"nxCloudAccessToken": "OTIzMjQ3OTMtNzkyZS00ZDc5LTgxOWEtYWRlNjc1YmY1YzI4fHJlYWQtd3JpdGU=",
"useInferencePlugins": false
}
45 changes: 35 additions & 10 deletions scripts/prepare-dist.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,39 @@
#!/bin/bash
cd "start" && npx nx run-many --target build &
cd "start/apps/chapter10/ng-jest-setup" && npm run build &
cd "start" && npx nx build ng-pwa-app-shell &
cd "start/apps/chapter13/ng-pwa-conversion" && npm run build &
cd "final" && npx nx run-many --target build &
cd "final/apps/chapter10/ng-jest-setup" && npm run build &
cd "final" && npx nx build ng-pwa-app-shell &
cd "final/apps/chapter13/ng-pwa-conversion" && npm run build

cd ../../../../

(
cd "start" && npx nx run-many --target build
) &

(
cd "start/apps/chapter10/ng-jest-setup" && npm run build
) &

(
cd "start" && npx nx build ng-pwa-app-shell
) &

(
cd "start/apps/chapter13/ng-pwa-conversion" && npm run build
) &

(
cd "final" && npx nx run-many --target build
) &

(
cd "final/apps/chapter10/ng-jest-setup" && npm run build
) &

(
cd "final" && npx nx build ng-pwa-app-shell
) &

(
cd "final/apps/chapter13/ng-pwa-conversion" && npm run build
) &

wait # Wait for all background processes to complete


# Define the root directory, adjust this path according to your actual root directory location
ROOT_DIR="./"
Expand Down
1 change: 0 additions & 1 deletion start/nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,5 @@
"style": "scss"
}
},
"nxCloudAccessToken": "NmUxZmM0NWUtNWY2Yy00NTU3LWE3OGItOWE3ZjYxODQ1MTdmfHJlYWQtd3JpdGU=",
"useInferencePlugins": false
}

0 comments on commit 8b8be3a

Please sign in to comment.