Skip to content
Closed
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
13 changes: 13 additions & 0 deletions .github/workflows/pr-build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,19 @@ jobs:
- name: Lint
run: npm run lint

- name: Input Schema Validation
run: |
if [ ! -d "node_modules/apify-cli" ]; then
Comment thread
JuanGalilea marked this conversation as resolved.
echo "::warning::apify-cli is not installed as an npm dependency. Improve CI speed by installing it"
fi
npx --yes apify-cli telemetry disable
if [ -d ./.actor ]; then
npx apify-cli validate-schema
fi
if [ -d ./actors ]; then
cd ./actors && ls | xargs -P 8 -I {} sh -c 'cd {} && npx apify-cli validate-schema || { echo "::error::Schema validation failed in actor: {}"; exit 1; }'
fi

- name: Test
run: npm test

Expand Down