Skip to content

Commit

Permalink
Remove screenshot thing
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcudd committed Sep 18, 2024
1 parent 9b3698e commit 91a6623
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/build-and-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,28 +81,3 @@ jobs:
with:
name: cypress-screenshots
path: cypress/screenshots
screenshots:
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Create check run with screenshot links
uses: actions/github-script@v6
with:
script: |
const { GITHUB_RUN_ID, GITHUB_REPOSITORY } = process.env;
const artifactUrl = `https://github.com/${GITHUB_REPOSITORY}/suites/${GITHUB_RUN_ID}/artifacts`;
await github.rest.checks.create({
owner: context.repo.owner,
repo: context.repo.repo,
name: 'Cypress Screenshots',
head_sha: context.sha,
status: 'completed',
conclusion: 'success',
output: {
title: 'Cypress Screenshots',
summary: `Cypress test screenshots are available [here](${artifactUrl}).`,
},
});

0 comments on commit 91a6623

Please sign in to comment.