File tree 1 file changed +9
-4
lines changed 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,19 @@ jobs:
17
17
- uses : actions/checkout@v4
18
18
with :
19
19
fetch-depth : 0
20
+
21
+ # Connect your workspace on nx.app and uncomment this to enable task distribution.
22
+ # The "--stop-agents-after" is optional, but allows idle agents to shut down once the "build" targets have been requested
23
+ # - run: npx nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="build"
24
+
25
+ # Cache node_modules
20
26
- uses : actions/setup-node@v3
21
27
with :
22
28
node-version : 20
23
29
cache : ' npm'
24
30
- run : npm ci
25
- - uses : nrwl/nx-set-shas@v3
26
- # This line is needed for nx affected to work when CI is running on a PR
27
- - run : git branch --track main origin/main
31
+ - uses : nrwl/nx-set-shas@v4
28
32
29
33
- run : npx nx format:check
30
- - run : npx nx affected -t lint,test,build
34
+ # TODO: remove exclude when apps are fixed
35
+ - run : npx nx affected -t lint test build --exclude mfe1 mfe2 playground
You can’t perform that action at this time.
0 commit comments