Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
romalytvynenko committed Dec 19, 2024
1 parent e5b11bc commit d9210fc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
on: push
name: CI
permissions:
contents: write
jobs:
phpunit:
runs-on: ubuntu-latest
Expand All @@ -22,3 +24,12 @@ jobs:
- name: Run Testsuite
run: vendor/bin/phpunit tests/

- name: Generate and commit API specification
run: |
php artisan scramble:export
git config --global user.name 'CI'
git config --global user.email '[email protected]'
git add api.json
git commit -m "API spec update"
git push

0 comments on commit d9210fc

Please sign in to comment.