Skip to content

Commit

Permalink
chore(ci): trigger e2e tests on merge
Browse files Browse the repository at this point in the history
  • Loading branch information
emosbaugh committed May 23, 2024
1 parent 1765341 commit ea4f34d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: push

on:
push:
branches:
- trigger-e2e-tests-on-merge

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: trigger-e2e-tests
run: |
curl -X POST \
-H "Authorization: Bearer ${{ secrets.E2E_REPO_DISPATCH_PAT }}" \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/replicatedhq/replicated-actions-test/dispatches \
-d '{"event_type":"e2e-tests"}'
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"directories": {
"doc": "docs"
},
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"build": "tsc",
"test": "npx jest --verbose",
Expand Down

0 comments on commit ea4f34d

Please sign in to comment.