deployphp/.github/workflows/test.yml
Piotr Kwiecinski 6242095e72
handle errors in dep, correctly catch missing url in version check (#65)
* handle errors in dep, correctly catch missing url in version check

replace console.error with throw to handle dep error failures
in main try/catch to mark job as failed in one place

* add test action, prevent failure on empty options

* fix conflict resolution
2024-03-07 20:15:45 +01:00

18 lines
378 B
YAML

name: 'build-test'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- master
- 'releases/*'
jobs:
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
with:
dep: list
deployer-version: "7.3.0"