Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: build & publish
on: push
on:
push:
branches: [master]
pull_request:
types: [opened, reopened, synchronize]

permissions:
contents: write # Required for creating releases and tags
Expand Down Expand Up @@ -40,6 +44,19 @@ jobs:
name: dist
path: dist/

all-tests-passed:
name: All tests passed
runs-on: ubuntu-latest
needs: [test, build]
if: always()
steps:
- name: Check test/build job status
run: |
if [ "${{ needs.test.result }}" != "success" ] || [ "${{ needs.build.result }}" != "success" ]; then
echo "test or build job did not succeed"
exit 1
fi

check_version:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
Expand Down
Loading