Skip to content

Commit

Permalink
chore: use nx-cloud-ce as Nx Cloud backend for this repo ;)
Browse files Browse the repository at this point in the history
  • Loading branch information
clementguillot committed Oct 20, 2024
1 parent adce2ac commit 530ff8b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:

- name: Run Build for affected projects
run: pnpm exec nx affected -t build
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

build-oci-images:
needs:
Expand Down Expand Up @@ -65,6 +67,7 @@ jobs:
run: pnpm exec nx affected -t container
env:
INPUT_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

test:
runs-on: ubuntu-latest
Expand All @@ -79,6 +82,8 @@ jobs:

- name: Run Test for affected projects
run: pnpm exec nx affected -t test
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

# - name: SonarCloud Scan
# uses: SonarSource/sonarcloud-github-action@eb211723266fe8e83102bac7361f0a05c3ac1d1b # v3.0.0
Expand All @@ -99,6 +104,8 @@ jobs:

- name: Run Lint for affected projects
run: pnpm exec nx affected -t lint
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

push-oci-images:
needs:
Expand Down Expand Up @@ -138,3 +145,4 @@ jobs:
INPUT_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
INPUT_PLATFORMS: "linux/amd64,linux/arm64"
INPUT_PUSH: true
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
3 changes: 1 addition & 2 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"sharedGlobals": []
},
"plugins": ["@jnxplus/nx-gradle"],
"nxCloudAccessToken": "YzcwZTJjY2QtMDEzYS00NjAyLWE1OGQtYjZiNDU2ZWEwNTdmfHJlYWQtd3JpdGU=",
"nxCloudUrl": "http://localhost:8080",
"nxCloudUrl": "http://89.168.55.189",
"useLegacyCache": true
}

0 comments on commit 530ff8b

Please sign in to comment.