OctoMind-dev / vercel-actions-example

Example repo to showcase integrating octomind with a vercel-deployed application

Home Page:https://vercel-actions-example.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vercel Actions Example for octomind-integration

This project is supposed to showcase the way to integrate octomind into a vercel-deployed app.

This is a Next.js project bootstrapped with create-next-app. Deployment happens on Vercel with the native vercel-github integration.

The octomind tests use the octomind execute action and the octomind github app to enable running tests on each preview branch. See the .github/workflows/octomind.yml file for the actions integration or just copy it:

on:
deployment_status
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
octomind:
if: ${{ github.event.deployment_status.state == 'success' }}
name: πŸš€πŸ™ trigger octomind e2e tests πŸš€πŸ™
runs-on: ubuntu-latest
steps:
- uses: OctoMind-dev/automagically-action-execute@v2
with:
testTargetId: c0f2336b-5afb-488b-879d-fd3a3b11bd3c
url: ${{ github.event.deployment_status.target_url }}
token: ${{ secrets.AUTOMAGICALLY_TOKEN }}

See πŸš€πŸ™ trigger octomind e2e tests πŸš€πŸ™ for a successful actions run after a vercel deployment.

Follow the setup workflow as described in our docs to get the required data.

About

Example repo to showcase integrating octomind with a vercel-deployed application

https://vercel-actions-example.vercel.app

License:MIT License


Languages

Language:TypeScript 50.9%Language:JavaScript 26.9%Language:CSS 22.1%