diff --git a/.github/workflows/ci-shared.yml b/.github/workflows/ci-shared.yml index 4002aff4..7d10660d 100644 --- a/.github/workflows/ci-shared.yml +++ b/.github/workflows/ci-shared.yml @@ -12,7 +12,7 @@ jobs: with: node-version: 22 cache: npm - - run: npm ci + - run: ./setup.sh --skip-verify - run: ./scripts/verify-ts.sh --lint Build: @@ -23,7 +23,7 @@ jobs: with: node-version: 22 cache: npm - - run: npm ci + - run: ./setup.sh --skip-verify - run: ./scripts/verify-ts.sh --build Test: @@ -34,7 +34,7 @@ jobs: with: node-version: 22 cache: npm - - run: npm ci + - run: ./setup.sh --skip-verify - run: ./scripts/verify-ts.sh --test Integration: @@ -52,5 +52,5 @@ jobs: with: distribution: temurin java-version: '21' - - run: npm ci + - run: ./setup.sh --skip-verify - run: ./scripts/emulator-test.sh diff --git a/.github/workflows/deploy-activity.yml b/.github/workflows/deploy-activity.yml index 0072d3cf..2e128cb8 100644 --- a/.github/workflows/deploy-activity.yml +++ b/.github/workflows/deploy-activity.yml @@ -54,7 +54,7 @@ jobs: node-version: '20' - name: Install Dependencies - run: npm ci + run: ./setup.sh --skip-verify - name: Build Activity env: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 953ae6cf..1ffc4272 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -46,7 +46,7 @@ jobs: node-version: 22 - name: Install dependencies - run: npm ci + run: ./setup.sh --skip-verify - name: Build shared + functions run: | diff --git a/.github/workflows/verify-activity.yml b/.github/workflows/verify-activity.yml index a3a5965f..024d71f8 100644 --- a/.github/workflows/verify-activity.yml +++ b/.github/workflows/verify-activity.yml @@ -24,7 +24,7 @@ jobs: cache: 'npm' - name: Install dependencies - run: npm ci + run: ./setup.sh --skip-verify - name: Verify Activity (typecheck, build, Storybook, Playwright) run: ./scripts/verify-activity.sh diff --git a/AGENTS.md b/AGENTS.md index e63ad105..a1530a24 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -45,7 +45,7 @@ Detailed guidelines for writing GitHub Actions workflows and handling secrets ar 1. **Analyze:** Understand the task requirements and review the relevant codebase. 2. **Environment:** Ensure the environment is set up and dependencies are installed. ```bash - npm ci + ./setup.sh ``` 3. **Develop:** Implement the requested changes. 4. **Verify:** Execute the relevant verification script(s). diff --git a/activity/tests/__screenshots__/components.spec.ts/group-slide.png b/activity/tests/__screenshots__/components.spec.ts/group-slide.png index 90eaa5f1..8c766888 100644 Binary files a/activity/tests/__screenshots__/components.spec.ts/group-slide.png and b/activity/tests/__screenshots__/components.spec.ts/group-slide.png differ diff --git a/packages/shared/src/index.ts b/packages/shared/src/index.ts index 9937707b..7bd44469 100644 --- a/packages/shared/src/index.ts +++ b/packages/shared/src/index.ts @@ -29,6 +29,8 @@ export { parseSeasonPairs, } from './seasonPairs.js'; +export type { SeasonPairs } from './seasonPairs.js'; + export { generateInviteCommand } from './inviteCommand.js'; export { getUtilitiesForClass, getRoleForSpec } from './classData.js'; diff --git a/setup.sh b/setup.sh index 3afa4b71..b2f0ede9 100755 --- a/setup.sh +++ b/setup.sh @@ -9,4 +9,6 @@ sudo apt-get install -y ffmpeg libnacl-dev npm ci # Run verification to ensure setup -./scripts/verify-ts.sh +if [ "$1" != "--skip-verify" ]; then + ./scripts/verify-ts.sh +fi