Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
63b3ed0
wip
incorbador May 2, 2025
7b3bd7a
Add post-login-wv
incorbador May 4, 2025
470ff8b
Before switching to aws-amplify
incorbador May 4, 2025
8e1e8d5
Switch to Amplify done
incorbador May 4, 2025
f593d41
prettier
incorbador May 4, 2025
479ed13
Fix build
incorbador May 4, 2025
ff4c3da
Change wv auth
incorbador May 4, 2025
eb7bdc6
Add connectToken endpoint (connect-next playground)
incorbador May 7, 2025
7134d50
Add connectTokenExternal route
incorbador May 18, 2025
009078c
Add static well-known for connect-next playground
incorbador Jun 3, 2025
1802473
start react playground in playwright
Jun 10, 2025
d0ba13c
run web-js and web-js-script playgrounds in playwright
Jun 10, 2025
57925a5
update workflows
Jun 10, 2025
fb9eaeb
prettier
Jun 10, 2025
4cff36f
install playground deps in the beginning of playwright test
Jun 10, 2025
7b8c53c
install root dependencies for test stage
Jun 10, 2025
0484cb2
unique cache step id
Jun 10, 2025
c96d854
remove root build from playwright (assume it's already done in local …
Jun 10, 2025
32a5184
remove unused function
Jun 10, 2025
ce3b689
remove unnecessary cache step
Jun 10, 2025
89f8a13
clean up stdout
Jun 10, 2025
10ce386
rpid is localhost
Jun 10, 2025
f0df7cc
Extend wv-connect-token endpoint with simulation capas
incorbador Jun 11, 2025
7208a12
Merge branch 'develop' into feature/wv
incorbador Jun 11, 2025
77cc745
Add log
incorbador Jun 11, 2025
a65687c
run playground in connect playwright
Jun 16, 2025
b9c97fb
rename workflow file
Jun 16, 2025
5302534
remove comments
Jun 16, 2025
61da599
remove comments
Jun 16, 2025
7c84765
recover connect tests
Jun 16, 2025
3393866
matrix complete and connect tests
Jun 16, 2025
4893caf
move env vars out of matrix
Jun 16, 2025
67a2e81
configure playground connect secrets for ci e2e test pipeline
Jun 18, 2025
9b79c99
Merge branch 'develop' into webserver
Jun 18, 2025
878da31
remove outdated workflow
Jun 18, 2025
ebcf312
prettier
Jun 18, 2025
e48f846
debug logs for playground in playwright
Jun 18, 2025
dd1b193
install connect playground deps
Jun 18, 2025
211ed3d
disable next cache for concurrent connect playground builds
Jun 18, 2025
ec2bfc9
build on global setup
Jun 18, 2025
76d85db
rever cache disable
Jun 18, 2025
903391a
fix github secret env vars
Jun 18, 2025
18ee133
change useragent
Jun 18, 2025
7578057
use proper github secret name
Jun 18, 2025
04238cb
ignore playground app logs in playwright
Jun 18, 2025
cfa4e86
build playground on playwright global setup instead of building befor…
Jun 24, 2025
76bf296
use correct configs for nightly connect tests
Jun 24, 2025
ac06d73
prettier
Jun 24, 2025
23afd9e
remove unused command
Jun 24, 2025
a0547d2
change remaining vercel URLs to localhost
Jun 24, 2025
e67adf2
abstract playground url out as env var
Jun 24, 2025
87fa6b7
prettier
Jun 24, 2025
99494e3
modify nightly test workflow file
Jun 24, 2025
7db7bf0
change readme
Jun 24, 2025
991377d
add more randomness to logstream name
Jun 24, 2025
992bd05
Add assetlinks
incorbador Aug 7, 2025
efe4a1f
Prettier
incorbador Aug 7, 2025
4df2951
Merge branch 'feature/wv' into webserver
incorbador Aug 8, 2025
516141a
Refactor connect tests (first passing test)
incorbador Aug 8, 2025
1ff72e7
Refactor connect complete
incorbador Aug 8, 2025
226bae3
Remove external endpoint
incorbador Aug 8, 2025
f82aa57
Missing ENVs for flow
incorbador Aug 8, 2025
8addd95
Correct NEXT_PUBLIC_AWS_COGNITO_CLIENT_ID
incorbador Aug 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
283 changes: 0 additions & 283 deletions .github/workflows/deploy-playground-and-test.yml

This file was deleted.

102 changes: 102 additions & 0 deletions .github/workflows/deploy-playgrounds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
name: Deploy Playground Apps to Vercel
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
BRANCH_NAME_RAW: ${{ github.head_ref || github.ref_name }}

on:
pull_request:
push:
branches:
- develop

jobs:
deploy:
runs-on: ubuntu-24.04

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4

- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: |
~/.npm
./node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}-force-1
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
name: Install Dependencies
run: |
npm i
npm install lerna
npm install [email protected]
npm list

- name: Check ESLint Errors
run: npm run lint

- name: Check Prettier Formatting
run: npm run prettier:check

- name: Build SDKs
run: |
npm run build
npm run build:bundler:local

- name: Normalize branch name
run: |
echo "BRANCH_NAME=$(echo $BRANCH_NAME_RAW | tr '/_' '-')" >> "$GITHUB_ENV"
shell: bash

- name: Deploy react playground to Vercel
run: |
npx vercel link --yes --project react-playground --scope corbado -t $VERCEL_TOKEN
npx vercel pull -t $VERCEL_TOKEN
npx vercel build -t $VERCEL_TOKEN
url="$(npx vercel deploy --prebuilt -t ${{ secrets.VERCEL_TOKEN }})"
npx vercel alias -S corbado -t ${{ secrets.VERCEL_TOKEN }} "$url" $BRANCH_NAME.react.playground.corbado.io
env:
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_REACT_PLAYGROUND }}

- name: Deploy connect next playground to Vercel
run: |
npx vercel link --yes --project connect-next-playground --scope corbado -t $VERCEL_TOKEN
npx vercel pull --environment=preview -t $VERCEL_TOKEN
npx vercel build -t $VERCEL_TOKEN
url="$(npx vercel deploy --prebuilt -t ${{ secrets.VERCEL_TOKEN }})"
npx vercel alias -S corbado -t ${{ secrets.VERCEL_TOKEN }} "$url" $BRANCH_NAME.connect-next.playground.corbado.io
env:
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_CONNECT_NEXT_PLAYGROUND }}

- name: Deploy web-js playground to Vercel
run: |
npx vercel link --yes --project web-js-playground --scope corbado -t $VERCEL_TOKEN
npx vercel pull -t $VERCEL_TOKEN
npx vercel build -t $VERCEL_TOKEN
url="$(npx vercel deploy --prebuilt -t ${{ secrets.VERCEL_TOKEN }})"
npx vercel alias -S corbado -t ${{ secrets.VERCEL_TOKEN }} "$url" $BRANCH_NAME.web-js.playground.corbado.io
env:
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_WEB_JS_PLAYGROUND }}

- name: Deploy web-js-script playground to Vercel
run: |
npx vercel link --yes --project web-js-script-playground --scope corbado -t $VERCEL_TOKEN
npx vercel pull -t $VERCEL_TOKEN
npx vercel build -t $VERCEL_TOKEN
url="$(npx vercel deploy --prebuilt -t ${{ secrets.VERCEL_TOKEN }})"
npx vercel alias -S corbado -t ${{ secrets.VERCEL_TOKEN }} "$url" $BRANCH_NAME.web-js-script.playground.corbado.io
env:
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_WEB_JS_SCRIPT_PLAYGROUND }}

Loading
Loading