Skip to content

Commit

Permalink
Add README documenting main parts of project
Browse files Browse the repository at this point in the history
  • Loading branch information
jbranchaud committed Jun 20, 2023
1 parent a503c87 commit 5b5fc1f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# GitHub Actions Experiment

The main workflow to pay attention to is the one that runs
canaries/healthchecks using Playwright (`.github/workflows/playwright.yml`).

This workflow can be dispatched manually from the GitHub Actions UI or via a
script located in the bin directory:

```bash
$ ./bin/send-workflow-dispatch.sh
```

In order to run that shell script dispatch, you need to have a personal GitHub
access token created and set in the `.env.local` file. To do that, start by
copying the example environment file.

```bash
$ cp .env.local{.example,}
```

The `playwright.yml` workflow will kick off several other workflows that run
playwright canaries/healthchecks against several web properites. The specific
playwright logic for each of those canaries lives in `src/canaries`.

Each of those Playwright canaries can be individually, locally invoked like so:

```bash
$ npm run healthcheck -- src/canaries/playwright-total-typescript.ts
```

0 comments on commit 5b5fc1f

Please sign in to comment.