workflow: run tests and builds for pull requests

main
daniel-michel 2023-11-18 23:33:33 +01:00
parent 9f3a55136a
commit d06419be63
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,9 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
@ -100,6 +103,8 @@ jobs:
- test
- build-web
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
permissions:
pages: write
id-token: write