Skip to content

Commit

Permalink
ci: add some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TartanLeGrand committed Apr 12, 2024
1 parent b47b949 commit 2bcdfd6
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 3 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/conventional-commits-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Conventional Commits Check

on:
pull_request:
branches: [ main ]

jobs:
check-conventional-commits:
name: Conventional Commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Check Commit Conventions
uses: webiny/action-conventional-commits@v1.3.0
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Docs
on:
push:
branches:
- master
- main

jobs:
deploy:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Release Please

on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Release Please Action
uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: php
6 changes: 4 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: Tests

on:
push:
branches:
- main
pull_request:
schedule:
- cron: '0 0 * * *'
branches:
- main

jobs:
tests:
Expand Down

0 comments on commit 2bcdfd6

Please sign in to comment.