Skip to content

Commit 9497ac9

Browse files
authored
ci: Reorganize workflows (#20)
Group workflows by action that needs to happen (run tests, build and release package), rather than by what event is the trigger. This allows for something like running tests to happen on both pushes to main and on pull requests. This removes the pull_request.yml file, since it should no longer be needed, and renames push_request.yml to cd.yml.
1 parent 03f50e5 commit 9497ac9

File tree

3 files changed

+2
-36
lines changed

3 files changed

+2
-36
lines changed

.github/workflows/push_request.yml renamed to .github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: On Push
1+
name: CD
22

33
# If this is made manual, then also update the pull_request.yml, to run builds
44
# on main on merge.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77

88
jobs:
9-
build:
9+
test:
1010
runs-on: ubuntu-latest
1111
env:
1212
TEST_AUTH_TOKEN: ${{ secrets.ALPHA_TEST_AUTH_TOKEN }}

.github/workflows/pull_request.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)