-
Notifications
You must be signed in to change notification settings - Fork 1
chore(ci): enable turborepo remote caching #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
92bc522
chore(ci): add Deno and Bun to CI workflow
halvaradop a9e62a2
chore(ci): refine ci.yaml workflow
halvaradop bf95420
chore(ci): remove env
halvaradop c9b23ca
chore(monorepo): sync dependencies and fix bugs
halvaradop 42548a6
chore: fix mismatch versions
halvaradop b6b1bb6
chore: sync dependencies
halvaradop f4b8aee
chore: revert lock files
halvaradop 0b2e70e
chore(ci): remove support for deno and bun
halvaradop 0a8d2cc
chore: revert deps from master
halvaradop c3a26c8
chore(examples): update auth instance declaration
halvaradop f63372e
chore: update build command
halvaradop 59b85a5
chore(ci): ignore lock files
halvaradop File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,49 +1,59 @@ | ||
| name: ci | ||
| name: CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| paths: | ||
| - ".github/workflows/**" | ||
| - "configs/**" | ||
| - "packages/**" | ||
| - "pnpm-lock.yaml" | ||
| pull_request: | ||
| branches: | ||
| - master | ||
| paths: | ||
| - ".github/workflows/**" | ||
| - "configs/**" | ||
| - "packages/**" | ||
| - "pnpm-lock.yaml" | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: ci-${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| env: | ||
| TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | ||
| TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | ||
|
|
||
| jobs: | ||
| type-check: | ||
| name: Type Check | ||
| node: | ||
| name: Node.js | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 25 | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: "24.x" | ||
| - uses: pnpm/action-setup@v4 | ||
| - run: pnpm install --frozen-lockfile | ||
| - run: pnpm build --filter="./packages/*" | ||
|
|
||
| - run: pnpm type-check | ||
| - name: Set up pnpm | ||
| uses: pnpm/action-setup@v4 | ||
|
|
||
| test: | ||
| name: Test | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-node@v4 | ||
| - uses: actions/setup-node@v6 | ||
| with: | ||
| node-version: "24.x" | ||
| - uses: pnpm/action-setup@v4 | ||
| - run: pnpm install --frozen-lockfile | ||
| - run: pnpm build --filter="./packages/*" | ||
| - run: pnpm test | ||
|
|
||
| build: | ||
| name: Build | ||
| runs-on: ubuntu-latest | ||
| needs: [type-check, test] | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: "24.x" | ||
| - uses: pnpm/action-setup@v4 | ||
| - run: pnpm install --frozen-lockfile | ||
| - run: pnpm build --filter="./packages/*" | ||
| - name: Install dependencies | ||
| run: pnpm install --frozen-lockfile | ||
|
|
||
| - name: Build packages | ||
| run: pnpm build:prod | ||
|
|
||
| - name: Run type checks | ||
| run: pnpm type-check | ||
|
|
||
| - name: Run tests | ||
| run: pnpm test | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| import { type AuthInstance, createAuth } from "@aura-stack/auth" | ||
|
|
||
| export const { handlers, jose } = createAuth({ | ||
| export const { handlers, jose }: AuthInstance = createAuth({ | ||
| oauth: ["github"], | ||
| basePath: "/api/auth", | ||
| trustedOrigins: ["http://localhost:3000", "https://*.vercel.app"], | ||
| }) as AuthInstance | ||
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| import { type AuthInstance, createAuth } from "@aura-stack/auth" | ||
|
|
||
| export const { handlers, jose } = createAuth({ | ||
| export const { handlers, jose }: AuthInstance = createAuth({ | ||
| oauth: ["github"], | ||
| basePath: "/api/auth", | ||
| trustedOrigins: ["http://127.0.0.1:8787", "http://localhost:8787"], | ||
| }) as AuthInstance | ||
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| import { type AuthInstance, createAuth } from "@aura-stack/auth" | ||
|
|
||
| export const { handlers, jose } = createAuth({ | ||
| export const { handlers, jose }: AuthInstance = createAuth({ | ||
| oauth: ["github"], | ||
| basePath: "/api/auth", | ||
| trustedOrigins: ["http://localhost:3000", "https://*.vercel.app"], | ||
| }) as AuthInstance | ||
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| import { type AuthInstance, createAuth } from "@aura-stack/auth" | ||
|
|
||
| export const { handlers, jose } = createAuth({ | ||
| export const { handlers, jose }: AuthInstance = createAuth({ | ||
| oauth: ["github"], | ||
| basePath: "/api/auth", | ||
| trustedOrigins: ["http://localhost:3000", "https://*.vercel.app"], | ||
| }) as AuthInstance | ||
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| import { AuthInstance, createAuth } from "@aura-stack/auth" | ||
|
|
||
| export const { handlers, jose } = createAuth({ | ||
| export const { handlers, jose }: AuthInstance = createAuth({ | ||
| oauth: ["github"], | ||
| basePath: "/api/auth", | ||
| trustedOrigins: ["http://localhost:3000", "https://*.vercel.app"], | ||
| }) as AuthInstance | ||
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| import { auth } from "@/auth" | ||
| import { handlers } from "@/auth" | ||
|
|
||
| export const { | ||
| handlers: { GET, POST }, | ||
| } = auth | ||
| export const { GET, POST } = handlers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| import { createAuth } from "@aura-stack/auth" | ||
| import { type AuthInstance, createAuth } from "@aura-stack/auth" | ||
| import { builtInOAuthProviders, type BuiltInOAuthProvider } from "@aura-stack/auth/oauth/index" | ||
|
|
||
| export const oauth = Object.keys(builtInOAuthProviders) as BuiltInOAuthProvider[] | ||
|
|
||
| export const auth = createAuth({ | ||
| export const { handlers, jose }: AuthInstance = createAuth({ | ||
| oauth, | ||
| trustedOrigins: ["http://localhost:3000", "https://*.vercel.app"], | ||
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,9 @@ | ||
| import { createAuth } from "@aura-stack/auth" | ||
| import { type AuthInstance, createAuth } from "@aura-stack/auth" | ||
| import { builtInOAuthProviders, type BuiltInOAuthProvider } from "@aura-stack/auth/oauth/index" | ||
|
|
||
| export const oauth = Object.keys(builtInOAuthProviders) as BuiltInOAuthProvider[] | ||
|
|
||
| export const { handlers, jose } = createAuth({ | ||
| export const { handlers, jose }: AuthInstance = createAuth({ | ||
| oauth, | ||
| basePath: "/api/auth", | ||
| trustedProxyHeaders: true, | ||
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| import { type AuthInstance, createAuth } from "@aura-stack/auth" | ||
|
|
||
| export const { handlers, jose } = createAuth({ | ||
| export const { handlers, jose }: AuthInstance = createAuth({ | ||
| oauth: ["github"], | ||
| basePath: "/api/auth", | ||
| trustedOrigins: ["http://localhost:3000", "https://*.vercel.app"], | ||
| }) as AuthInstance | ||
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| import { type AuthInstance, createAuth } from "@aura-stack/auth" | ||
|
|
||
| export const { handlers, jose } = createAuth({ | ||
| export const { handlers, jose }: AuthInstance = createAuth({ | ||
| oauth: ["github"], | ||
| basePath: "/api/auth", | ||
| trustedOrigins: ["http://localhost:3000", "http://127.0.0.1:3000"], | ||
| }) as AuthInstance | ||
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| import { createAuth } from "@aura-stack/auth" | ||
| import { type AuthInstance, createAuth } from "@aura-stack/auth" | ||
| import { builtInOAuthProviders, type BuiltInOAuthProvider } from "@aura-stack/auth/oauth/index" | ||
|
|
||
| export const oauth = Object.keys(builtInOAuthProviders) as BuiltInOAuthProvider[] | ||
|
|
||
| export const { handlers, jose } = createAuth({ | ||
| export const { handlers, jose }: AuthInstance = createAuth({ | ||
| oauth, | ||
| trustedProxyHeaders: true, | ||
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.