This page contains the setup guide for the previous version of the agent (v4). Go to agent v5 to follow the setup guide for the latest stable version.
Update configuration
Update .travis.yml
to run @relative-ci/agent after the build is done.
.travis.yaml
script: - npm run build --json webpack-stats.json - npx relative-ci-agent
Run from the project root directory
Since @relative-ci/agent@v4.1.0, you can run the CLI from the project root directory using --config-dir
/ -c
argument:
npx relative-ci-agent --config-dir packages/components