Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
7bdc3f7
feat: new organization
Nsttt Oct 14, 2025
d9460b5
feat: new organization
Nsttt Oct 15, 2025
d24f3a3
feat: new organization
Nsttt Oct 15, 2025
f90c977
chore: justfile
Nsttt Oct 15, 2025
b736c70
chore: make pipelines work with new system
Nsttt Oct 15, 2025
f0e5f76
chore: run pipelines on PRs
Nsttt Oct 15, 2025
a1c18b4
feat: more organization of naming and folders
Nsttt Nov 3, 2025
5793620
chore: update all vanilla deps
Nsttt Nov 3, 2025
f8f009d
chore: even moredeps
Nsttt Nov 3, 2025
1b11d5e
feat: turbo working
Nsttt Nov 3, 2025
435ac30
chore: trying to make nx work
Nsttt Nov 4, 2025
93d0767
chore: new nx example
Nsttt Nov 4, 2025
fa93b55
chore: attempting it work
Nsttt Nov 4, 2025
7cddcd3
chore: new example with rspack
Nsttt Nov 4, 2025
eea4d16
chore: remove old example
Nsttt Nov 4, 2025
4db6b22
Merge branch 'main' into reorganization
Nsttt Nov 4, 2025
268272a
chore: rename turbo
Nsttt Nov 4, 2025
9e078b1
chore: use git
Nsttt Nov 4, 2025
e272765
chore: only install on the vanilla folder
Nsttt Nov 4, 2025
5d22816
chore: fix ember
Nsttt Nov 4, 2025
85e0ce3
chore: make pipeline work with monorepos
Nsttt Nov 4, 2025
7d1172c
chore: add rsbuild example
Nsttt Nov 4, 2025
8c2b854
chore: missing env vars
Nsttt Nov 4, 2025
efe88f2
chore: attempt at making CI work
Nsttt Nov 4, 2025
b6d1898
chore: single pipeline
Nsttt Nov 4, 2025
cc335be
chore: fix tests
Nsttt Nov 5, 2025
3680141
chore: upgrade webpack to enhanced
Nsttt Nov 5, 2025
0aedc6c
feat: build-all command
fiorin Nov 17, 2025
825b607
feat: extra script for build each folder all examples
fiorin Nov 17, 2025
37475aa
test: fixing test file
fiorin Nov 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 18 additions & 8 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ description: Sets up Node.js and PNPM with caching
inputs:
os:
required: true
description: 'Operating system'
description: "Operating system"
default: ubuntu-latest
node-version:
required: true
description: 'Node.js version'
default: '24'
description: "Node.js version"
default: "24"

runs:
using: 'composite'
using: "composite"
steps:
- uses: pnpm/action-setup@v4
with:
Expand All @@ -21,9 +21,9 @@ runs:
- uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
registry-url: 'https://registry.npmjs.org'
cache: "pnpm"
cache-dependency-path: "**/pnpm-lock.yaml"
registry-url: "https://registry.npmjs.org"
- name: Get pnpm store directory
shell: bash
run: |
Expand All @@ -34,5 +34,15 @@ runs:
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- run: pnpm install --prefer-offline
- name: Install dependencies in all workspaces
shell: bash
run: |
echo "Installing dependencies in nx workspace..."
cd nx && pnpm install --prefer-offline
echo "Installing dependencies in vanilla workspace..."
cd ../vanilla && pnpm install --prefer-offline
echo "Installing dependencies in turborepo workspace..."
cd ../turborepo && pnpm install --prefer-offline
echo "Installing dependencies in scripts..."
cd ../scripts && pnpm install --prefer-offline
echo "✓ All dependencies installed"
14 changes: 0 additions & 14 deletions .github/dependabot.yml

This file was deleted.

146 changes: 131 additions & 15 deletions .github/workflows/build-deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,26 @@ on:
type: string
repository_dispatch:
types: [build-deploy-test]
pull_request:
branches:
- main
paths:
- "nx/**"
- "vanilla/**"
- "turborepo/**"
- "scripts/**"
- ".github/workflows/**"
- ".github/actions/**"
push:
branches:
- main
paths:
- "nx/**"
- "vanilla/**"
- "turborepo/**"
- "scripts/**"
- ".github/workflows/**"
- ".github/actions/**"

env:
NODE_VERSION: "24"
Expand Down Expand Up @@ -54,11 +74,36 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: ./.github/actions/setup
- uses: pnpm/action-setup@v4
with:
version: 10.6.3
run_install: false

- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: "https://registry.npmjs.org"

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: pnpm-store-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
pnpm-store-${{ runner.os }}-

- name: Install scripts dependencies
run: |
cd scripts
pnpm install --prefer-offline

- name: Upgrade Zephyr plugins
if: github.event_name != 'pull_request' && github.event_name != 'push'
run: |
cd scripts
if [ -n "${{ github.event.inputs.plugin_version }}" ]; then
Expand All @@ -72,21 +117,98 @@ jobs:
pnpm upgrade-plugins
fi

- name: Install dependencies after upgrade
run: pnpm install --prefer-offline
- name: Install vanilla dependencies
run: |
cd vanilla
pnpm install --prefer-offline

- name: Install nx example dependencies
run: |
cd nx/examples
for example in */; do
if [ -f "${example}package.json" ]; then
echo "Installing dependencies for nx/${example}"
cd "$example"
pnpm install --prefer-offline
cd ..
fi
done

- name: Install turborepo example dependencies
run: |
cd turborepo/examples
for example in */; do
if [ -f "${example}package.json" ]; then
echo "Installing dependencies for turborepo/${example}"
cd "$example"
pnpm install --prefer-offline
cd ..
fi
done

- name: Clean zephyr cache before build
run: |
echo "Cleaning $HOME/.zephyr directory..."
if [ -d "$HOME/.zephyr" ]; then
echo "Found existing .zephyr directory, checking contents:"
ls -lah "$HOME/.zephyr/" || true
echo "Removing .zephyr directory..."
rm -rf "$HOME/.zephyr"
fi
echo "Creating fresh .zephyr directory..."
mkdir -p "$HOME/.zephyr"

- name: Build all examples
run: |
cd scripts
if [ "${{ github.event.inputs.skip_cache }}" == "true" ] || [ "${{ github.event.client_payload.skip_cache }}" == "true" ]; then
echo "Building with --skip-cache flag"
pnpm build-packages:force
echo "Building all examples with --skip-cache flag"
pnpm build-packages --skip-cache
else
echo "Building with cache enabled"
echo "Building all examples with cache enabled"
pnpm build-packages
fi
env:
NODE_ENV: production
ZE_SECRET_TOKEN: ${{ env.ZE_SECRET_TOKEN }}
ZE_API_GATE: ${{ env.ZE_API_GATE }}
ZE_API: ${{ env.ZE_API }}

- name: Check zephyr cache after build
if: always()
run: |
echo "Checking $HOME/.zephyr after build..."
if [ -d "$HOME/.zephyr" ]; then
echo "Total files: $(ls -1 "$HOME/.zephyr" 2>/dev/null | wc -l)"
echo "Checking for subdirectories that might cause EISDIR error:"
find "$HOME/.zephyr" -type d 2>/dev/null || echo "No subdirectories found"
echo ""
echo "Files and directories in .zephyr:"
ls -lah "$HOME/.zephyr/" 2>/dev/null | head -30 || echo "Cannot list directory"
else
echo "$HOME/.zephyr does not exist"
fi

- name: Upload build logs
uses: actions/upload-artifact@v4
if: always()
with:
name: build-logs
path: scripts/tmp/build/
retention-days: 3

- name: Check zephyr cache contents
run: |
echo "Checking $HOME/.zephyr directory..."
if [ -d "$HOME/.zephyr" ]; then
echo "Files and directories in .zephyr:"
ls -lah "$HOME/.zephyr/" | head -30
echo ""
echo "Checking for subdirectories:"
find "$HOME/.zephyr" -type d | head -10
else
echo "$HOME/.zephyr does not exist"
fi

- name: Wait for deployments to be ready
run: |
Expand All @@ -104,6 +226,9 @@ jobs:
pnpm test
env:
CI: true
ZE_SECRET_TOKEN: ${{ env.ZE_SECRET_TOKEN }}
ZE_API_GATE: ${{ env.ZE_API_GATE }}
ZE_API: ${{ env.ZE_API }}

- name: Upload test results
uses: actions/upload-artifact@v4
Expand All @@ -114,12 +239,3 @@ jobs:
scripts/test-results/
scripts/playwright-report/
retention-days: 7

- name: Upload build logs
uses: actions/upload-artifact@v4
if: always()
with:
name: build-logs
path: |
scripts/tmp/build/
retention-days: 3
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24
Loading
Loading