Skip to content

Commit

Permalink
docs: fix build ci file
Browse files Browse the repository at this point in the history
  • Loading branch information
daphnesmit committed Jan 22, 2021
1 parent 66fd68b commit b4db9f2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
name: dist
path: dist

build:
deploy_npm:
name: Deploy on NPM
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/release'
needs: [ build ]
Expand Down
1 change: 0 additions & 1 deletion example/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ module.exports = withPlugins(
rule.include = undefined;
}
});

return config;
},
},
Expand Down
2 changes: 1 addition & 1 deletion example/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ApolloProvider } from '@apollo/client'
import { AppProps } from 'next/app'
import { withApolloServerSideRender } from '../../src'
import { withApolloServerSideRender } from '../../dist/with-next-apollo-tree-walker'
import '../styles/globals.css'
import { useApollo } from '../utils/apolloClient'

Expand Down
2 changes: 1 addition & 1 deletion example/utils/apolloClient.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ApolloClient, HttpLink, InMemoryCache, NormalizedCacheObject } from '@apollo/client'
import { concatPagination } from '@apollo/client/utilities'
import { useMemo } from 'react'
import { useApolloCacheController } from '../../src'
import { useApolloCacheController } from '../../dist/with-next-apollo-tree-walker'

let apolloClient: ApolloClient<NormalizedCacheObject> | undefined

Expand Down

0 comments on commit b4db9f2

Please sign in to comment.