diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 94e571bc8..10f9178f8 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -1,12 +1,21 @@ name: Publish Docker -on: - workflow_run: - workflows: ['Test'] - types: [completed] +on: [push] jobs: - build: + test: + name: Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install modules + run: yarn + - name: Run MinIO + run: docker-compose up -d + - name: Run tests + run: yarn test + publish: + name: Publish runs-on: ubuntu-latest steps: - uses: actions/checkout@master diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 6db8dd13d..000000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Test -on: [push] -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Install modules - run: yarn - - name: Run MinIO - run: docker-compose up -d - - name: Run tests - run: yarn test