Skip to content

Commit 2cdad2b

Browse files
Merge pull request #509 from jogelin/fix-github-actions
fix(ci): Use generated config GitHub action
2 parents c94d268 + 7c20d16 commit 2cdad2b

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,19 @@ jobs:
1717
- uses: actions/checkout@v4
1818
with:
1919
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
2026
- uses: actions/setup-node@v3
2127
with:
2228
node-version: 20
2329
cache: 'npm'
2430
- 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
2832

2933
- 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

0 commit comments

Comments
 (0)