Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions .github/workflows/ci-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -52,5 +52,5 @@ jobs:
with:
distribution: temurin
java-version: '21'
- run: npm ci
- run: ./setup.sh --skip-verify
- run: ./scripts/emulator-test.sh
2 changes: 1 addition & 1 deletion .github/workflows/deploy-activity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
node-version: '20'

- name: Install Dependencies
run: npm ci
run: ./setup.sh --skip-verify

- name: Build Activity
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
node-version: 22

- name: Install dependencies
run: npm ci
run: ./setup.sh --skip-verify

- name: Build shared + functions
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify-activity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 2 additions & 0 deletions packages/shared/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 3 additions & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading