Skip to content

Commit 2aeb0bf

Browse files
ci(examples): test examples in CI (TanStack#6813)
* Update Nx config * Make nextjs examples work * Fix 2 more next examples * Fix solid and svelte examples * Fix react prefetching example * Fix svelte type
1 parent 237e52c commit 2aeb0bf

File tree

31 files changed

+68
-116
lines changed

31 files changed

+68
-116
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ concurrency:
1515

1616
env:
1717
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
18-
NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }}
1918

2019
jobs:
2120
test-and-publish:

.github/workflows/pr.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
env:
15+
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
1516
NX_CLOUD_DISTRIBUTED_EXECUTION: true
1617
NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT: 3
17-
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
18-
NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }}
19-
NX_VERBOSE_LOGGING: true
2018

2119
jobs:
2220
main:
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
eslint: {
3+
ignoreDuringBuilds: true,
4+
},
5+
}

examples/react/auto-refetching/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@tanstack/query-example-react-refetch-interval",
2+
"name": "@tanstack/query-example-react-auto-refetching",
33
"private": true,
44
"main": "index.js",
55
"license": "MIT",
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
eslint: {
3+
ignoreDuringBuilds: true,
4+
},
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
eslint: {
3+
ignoreDuringBuilds: true,
4+
},
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
eslint: {
3+
ignoreDuringBuilds: true,
4+
},
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
eslint: {
3+
ignoreDuringBuilds: true,
4+
},
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
eslint: {
3+
ignoreDuringBuilds: true,
4+
},
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
eslint: {
3+
ignoreDuringBuilds: true,
4+
},
5+
}

0 commit comments

Comments
 (0)