Skip to main content

Use Argos with GitHub Actions

Configure GitHub Actions to send screenshots to Argos visual testing platform.

Configure GitHub Actions

.github/workflows/ci.yml
name: CI
build:
runs-on: ubuntu-latest
- uses: actions/checkout@v3

# 👉 Insert the steps required to take screenshots

- name: Upload screenshots to argos-ci.com
run: npx @argos-ci/cli upload ./screenshots

Read the GitHub Actions repository for a complete configuration example.

Note: You can also force the usage of ARGOS_TOKEN on GitHub Actions CI. Read the deprecated configuration for a complete example.