chore(ci): Set timeout and add e2e / status check [fixes FLU-222, FLU-194 and FLU-196] (#238)

* Update renovate config

* Update
This commit is contained in:
Anatolios Laskaris 2023-02-01 12:56:48 +02:00 committed by GitHub
parent bbf617f900
commit e02c506d7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 1 deletions

14
.github/renovate.json vendored
View File

@ -6,10 +6,22 @@
],
"enabledManagers": ["npm", "github-actions"],
"rangeStrategy": "pin",
"schedule": "every weekend",
"packageRules": [
{
"matchManagers": ["npm"],
"matchPackagePatterns": [
"@fluencelabs/.*"
],
"semanticCommitType": "fix",
"semanticCommitScope": "deps",
"schedule": "at any time"
},
{
"matchDepTypes": ["devDependencies"],
"prPriority": -1
"prPriority": -1,
"semanticCommitType": "chore",
"semanticCommitScope": "deps"
},
{
"matchUpdateTypes": ["major"],

View File

@ -59,3 +59,28 @@ jobs:
with:
aqua-version: "${{ needs.aqua.outputs.aqua-version }}"
fluence-js-version: "${{ needs.fluence-js.outputs.fluence-js-version }}"
status:
runs-on: ubuntu-latest
if: always()
needs:
- fluence-cli
- registry
- aqua-playground
steps:
- uses: lwhiteley/dependent-jobs-result-check@v1
id: status
with:
statuses: failure,cancelled,skipped
dependencies: ${{ toJSON(needs) }}
- name: Log output
run: |
echo "statuses:" "${{ steps.status.outputs.statuses }}"
echo "jobs:" "${{ steps.status.outputs.jobs }}"
echo "found any?:" "${{ steps.status.outputs.found }}"
- name: Fail run
if: fromJSON(steps.status.outputs.found)
run: exit 1

View File

@ -29,6 +29,7 @@ jobs:
fluence-js:
name: "Run tests"
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read