Skip to content

Commit

Permalink
chore: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
QingWei-Li committed Sep 8, 2021
1 parent 7ec90ac commit a3607f4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 18 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit a3607f4

Please sign in to comment.