Skip to content

Commit fe896d9

Browse files
committed
chore: use read-write token only in CI
1 parent f5d4706 commit fe896d9

File tree

2 files changed

+29
-8
lines changed

2 files changed

+29
-8
lines changed

.github/workflows/ci_checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
env:
99
node_version: 20
10+
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_READ_WRITE_TOKEN }}
1011

1112
jobs:
1213
main-linux:

nx.json

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,32 @@
2929
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3030
"targetDefaults": {
3131
"build": {
32-
"inputs": ["production", "^production"],
32+
"inputs": [
33+
"production",
34+
"^production"
35+
],
3336
"cache": true
3437
},
3538
"test": {
36-
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
39+
"inputs": [
40+
"default",
41+
"^production",
42+
"{workspaceRoot}/jest.preset.js"
43+
],
3744
"cache": true
3845
},
3946
"lint": {
40-
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"],
47+
"inputs": [
48+
"default",
49+
"{workspaceRoot}/.eslintrc.json"
50+
],
4151
"cache": true
4252
},
4353
"e2e": {
44-
"inputs": ["default", "^production"],
54+
"inputs": [
55+
"default",
56+
"^production"
57+
],
4558
"cache": true
4659
},
4760
"build-storybook": {
@@ -62,7 +75,11 @@
6275
"cache": true
6376
},
6477
"@nx/jest:jest": {
65-
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
78+
"inputs": [
79+
"default",
80+
"^production",
81+
"{workspaceRoot}/jest.preset.js"
82+
],
6683
"cache": true,
6784
"options": {
6885
"passWithNoTests": true
@@ -75,7 +92,10 @@
7592
}
7693
},
7794
"@nx/eslint:lint": {
78-
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"],
95+
"inputs": [
96+
"default",
97+
"{workspaceRoot}/.eslintrc.json"
98+
],
7999
"cache": true
80100
}
81101
},
@@ -131,5 +151,5 @@
131151
],
132152
"defaultBase": "master",
133153
"nxCloudUrl": "https://staging.nx.app",
134-
"nxCloudAccessToken": "ZjcwZWVlN2EtMTc1OS00NDRiLWEyMzAtODc5ZTQ0YTQ5ZTAxfHJlYWQtd3JpdGU="
135-
}
154+
"nxCloudAccessToken": "OTZmMzE2NDEtMmYzNC00MjhiLWI2M2QtMjgzMTQ4ZjgxZGNlfHJlYWQ="
155+
}

0 commit comments

Comments
 (0)