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
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: Install Dependencies
run: npm ci
run: npm ci --force

- name: Lint
run: npm run lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/evaluations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
cache-dependency-path: 'package-lock.json'

- name: Install Node dependencies
run: npm ci --include=dev
run: npm ci --force --include=dev

- name: Build project
run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
cache-dependency-path: 'package-lock.json'

- name: Install dependencies
run: npm ci
run: npm ci --force

- name: Build
run: npm run build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: Install dependencies
run: npm ci
run: npm ci --force
- name: Build module
run: npm run build
- name: Prepare MCPB package
Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:
cache-dependency-path: 'package-lock.json'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
run: npm ci --force
- name: Build module
run: npm run build
- name: Publish to NPM
Expand Down
7 changes: 7 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ MANDATORY: Always check for TypeScript compilation errors before running tests o
- **Unit tests**: `npm run test:unit` (runs `vitest run tests/unit`)
- **Integration tests**: `npm run test:integration` (requires build first, requires `APIFY_TOKEN`)

### Important: Integration tests require APIFY_TOKEN

**⚠️ DO NOT attempt to run integration tests as an agent.** Integration tests require a valid `APIFY_TOKEN` environment variable, which only humans have access to. As an agent, you should:
- Run `npm run type-check` and `npm run build` to validate TypeScript changes
- Run `npm run test:unit` for unit tests which don't require authentication
- Skip integration tests - these must be run by humans with valid Apify credentials

### Test structure

- `tests/unit/` - Unit tests for individual modules
Expand Down
Loading
Loading