01
Reusable GitHub Action
las-team/lastest/action@main. server-url and runner-token inputs, no local Playwright install. Outputs status, build-url, and counts so downstream steps can branch on the verdict.
CI/CD
A reusable GitHub Action (las-team/lastest/action@main), a CLI runner, and a remote runner protocol that works in GitLab CI, Jenkins, Buildkite, CircleCI, or any container-friendly CI. Smart Run uses git diff to skip unchanged tests and keep CI minutes under control.
What you get
01
las-team/lastest/action@main. server-url and runner-token inputs, no local Playwright install. Outputs status, build-url, and counts so downstream steps can branch on the verdict.
02
pnpm test:visual --repo-id <id> works in GitLab CI, Jenkins, Buildkite, CircleCI, or anywhere you can run a Node container. Auto-captures GITHUB_HEAD_REF / GITHUB_SHA when present.
03
Match a feature branch against the default branch via the GitHub or GitLab API. Lastest only runs tests touched by the diff - saving 60–95% of CI time on large suites.
How it works
Diagram 1 · GitHub Action flow
Diagram 2 · Remote runner protocol
Diagram 3 · Smart Run with git diff
Configure
GitHub Actions - drop-in visual regression step
- name: Run visual regression tests
uses: las-team/lastest/action@main
with:
server-url: ${{ secrets.LASTEST_SERVER_URL }}
runner-token: ${{ secrets.LASTEST_RUNNER_TOKEN }}
timeout: '300'
fail-on-changes: 'true'