File tree 2 files changed +23
-5
lines changed
2 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ concurrency:
16
16
jobs :
17
17
test-and-publish :
18
18
name : Test & Publish
19
+ if : github.repository == 'TanStack/table'
19
20
runs-on : ubuntu-latest
20
21
steps :
21
22
- uses : actions/checkout@v4
31
32
node-version-file : .nvmrc
32
33
cache : pnpm
33
34
- name : Install dependencies
34
- run : pnpm install --frozen-lockfile
35
+ run : pnpm install --frozen-lockfile --prefer-offline
35
36
- name : Run Tests
36
37
run : pnpm run test:ci
37
38
- name : Publish
Original file line number Diff line number Diff line change 11
11
},
12
12
"parallel" : 5 ,
13
13
"namedInputs" : {
14
- "packageSources" : [
15
- " {workspaceRoot}/packages/**/src/**/*.ts" ,
16
- " {workspaceRoot}/packages/**/tsconfig.json"
14
+ "sharedGlobals" : [
15
+ " {workspaceRoot}/.nvmrc" ,
16
+ " {workspaceRoot}/package.json" ,
17
+ " {workspaceRoot}/scripts/getRollupConfig.js" ,
18
+ " {workspaceRoot}/tsconfig.json"
17
19
],
18
- "buildDeps" : [" {projectRoot}/**/*" , " !{projectRoot}/__tests__/**/*" ]
20
+ "default" : [
21
+ " sharedGlobals" ,
22
+ " {projectRoot}/**/*" ,
23
+ " !{projectRoot}/**/*.md"
24
+ ],
25
+ "public" : [
26
+ " default" ,
27
+ " {projectRoot}/build" ,
28
+ " {projectRoot}/dist" ,
29
+ " !{projectRoot}/.eslintrc.cjs" ,
30
+ " !{projectRoot}/tsconfig.eslint.json"
31
+ ]
19
32
},
20
33
"targetDefaults" : {
21
34
"test:lib" : {
22
35
"dependsOn" : [" ^build" ],
36
+ "inputs" : [" default" , " ^public" ],
37
+ "outputs" : [" {projectRoot}/coverage" ],
23
38
"cache" : true
24
39
},
25
40
"test:types" : {
26
41
"dependsOn" : [" ^build" ],
42
+ "inputs" : [" default" , " ^public" ],
27
43
"cache" : true
28
44
},
29
45
"build" : {
30
46
"dependsOn" : [" ^build" ],
47
+ "inputs" : [" default" , " ^public" ],
31
48
"outputs" : [" {projectRoot}/build" , " {projectRoot}/dist" ],
32
49
"cache" : true
33
50
}
You can’t perform that action at this time.
0 commit comments