Skip to content

Merge pull request #151 from dappnode/diego/fix-exposed-ws #154

Merge pull request #151 from dappnode/diego/fix-exposed-ws

Merge pull request #151 from dappnode/diego/fix-exposed-ws #154

Workflow file for this run

name: "Main"
on:
pull_request:
push:
branches:
- "main"
- "master"
- "v[0-9]+.[0-9]+.[0-9]+"
paths-ignore:
- "README.md"
jobs:
build-test:
runs-on: ubuntu-latest
name: Build test
if: github.event_name != 'push'
steps:
- name: Checkout
uses: actions/checkout@v3
- run: npx @dappnode/dappnodesdk build --provider remote --skip_save
e2e-test:
runs-on: mainnet
needs: build-test
if: github.event_name != 'push'
name: End to end tests
steps:
- uses: actions/checkout@v3
- run: npx @dappnode/dappnodesdk@latest github-action test-end-to-end --errorLogsTimeout 120 --healthCheckUrl http://erigon.dappnode:8545 --network mainnet
release:
name: Release
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event_name == 'repository_dispatch'
steps:
- uses: actions/checkout@v3
- name: Publish
run: npx @dappnode/dappnodesdk publish patch --dappnode_team_preset --timeout 1h
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEVELOPER_ADDRESS: "0xf35960302a07022aba880dffaec2fdd64d5bf1c1"