Skip to content

Commit 2afe85a

Browse files
author
Confitty Developer
committed
fix(ci): disable Nx Cloud and trim to the essential steps
The build target inherits Nx Cloud cache by default, and the cloud workspace returns 401 without an access token. Set NX_NO_CLOUD=true and NX_DAEMON=false at the workflow level so the build runs entirely on the runner and is not blocked by cloud auth. Drop the cache step and the artifact upload while CI stabilises — both are convenience layers, neither is required for "is this branch green".
1 parent a8deb81 commit 2afe85a

1 file changed

Lines changed: 5 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ concurrency:
1313
permissions:
1414
contents: read
1515

16+
env:
17+
NX_CLOUD_ACCESS_TOKEN: ""
18+
NX_NO_CLOUD: "true"
19+
NX_DAEMON: "false"
20+
1621
jobs:
1722
build:
1823
name: Type check and production build
@@ -28,14 +33,6 @@ jobs:
2833
with:
2934
bun-version: 1.3.11
3035

31-
- name: Cache Bun store
32-
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
33-
with:
34-
path: ~/.bun/install/cache
35-
key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }}
36-
restore-keys: |
37-
${{ runner.os }}-bun-
38-
3936
- name: Install dependencies
4037
run: bun install
4138

@@ -44,10 +41,3 @@ jobs:
4441

4542
- name: Production build
4643
run: bun run build:prod
47-
48-
- name: Upload build artifacts
49-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
50-
with:
51-
name: confitty-dist
52-
path: dist/confitty/browser
53-
retention-days: 7

0 commit comments

Comments
 (0)