mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Fix GH Actions
This commit is contained in:
parent
d391e332e6
commit
9ba302f24f
43
.github/workflows/link-and-build.yaml
vendored
43
.github/workflows/link-and-build.yaml
vendored
@ -14,22 +14,6 @@ jobs:
|
||||
lint_and_build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
NEXT_PUBLIC_STACK_URL: http://localhost:8101
|
||||
NEXT_PUBLIC_STACK_PROJECT_ID: internal
|
||||
NEXT_PUBLIC_STACK_PUBLISHABLE_CLIENT_KEY: internal-project-publishable-client-key
|
||||
STACK_SECRET_SERVER_KEY: internal-project-secret-server-key
|
||||
STACK_SERVER_SECRET: 23-wuNpik0gIW4mruTz25rbIvhuuvZFrLOLtL7J4tyo
|
||||
|
||||
STACK_EMAIL_HOST: 127.0.0.1
|
||||
STACK_EMAIL_PORT: 2500
|
||||
STACK_EMAIL_USERNAME: test
|
||||
STACK_EMAIL_PASSWORD: none
|
||||
STACK_EMAIL_SENDER: noreply@test.com
|
||||
|
||||
STACK_DATABASE_CONNECTION_STRING: postgres://postgres:password@localhost:5432/stackframe
|
||||
STACK_DIRECT_DATABASE_CONNECTION_STRING: postgres://postgres:password@localhost:5432/stackframe
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [18.x, 20.x]
|
||||
@ -50,6 +34,33 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Create .env.production.local file for apps/backend
|
||||
run: cp apps/backend/.env.development apps/backend/.env.test.local
|
||||
|
||||
- name: Create .env.production.local file for apps/dashboard
|
||||
run: cp apps/dashboard/.env.development apps/dashboard/.env.test.local
|
||||
|
||||
- name: Create .env.production.local file for apps/e2e
|
||||
run: cp apps/e2e/.env.development apps/e2e/.env.test.local
|
||||
|
||||
- name: Create .env.production.local file for examples/cjs-test
|
||||
run: cp examples/cjs-test/.env.development examples/cjs-test/.env.test.local
|
||||
|
||||
- name: Create .env.production.local file for examples/demo
|
||||
run: cp examples/demo/.env.development examples/demo/.env.test.local
|
||||
|
||||
- name: Create .env.production.local file for examples/docs-examples
|
||||
run: cp examples/docs-examples/.env.development examples/docs-examples/.env.test.local
|
||||
|
||||
- name: Create .env.production.local file for examples/e-commerce
|
||||
run: cp examples/e-commerce/.env.development examples/e-commerce/.env.test.local
|
||||
|
||||
- name: Create .env.production.local file for examples/middleware
|
||||
run: cp examples/middleware/.env.development examples/middleware/.env.test.local
|
||||
|
||||
- name: Create .env.production.local file for examples/partial-prerendering
|
||||
run: cp examples/partial-prerendering/.env.development examples/partial-prerendering/.env.test.local
|
||||
|
||||
- name: Build
|
||||
run: pnpm build
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user