Allow worker size config (#84) #204
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Main" | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- "master" | |
- "main" | |
- "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: | |
- uses: actions/checkout@v3 | |
- run: npx @dappnode/dappnodesdk build --skip_save | |
e2e-test: | |
runs-on: gnosis | |
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://web3signer.web3signer-gnosis.dappnode:9000/upcheck --network gnosis | |
env: | |
VALIDATOR_INDEX: ${{ secrets.GNOSIS_VALIDATOR_INDEX }} | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
if: github.event_name == 'push' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Publish | |
run: npx @dappnode/dappnodesdk publish patch --dappnode_team_preset | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DEVELOPER_ADDRESS: "0xf35960302a07022aba880dffaec2fdd64d5bf1c1" |