Skip to content

Commit 7082b9b

Browse files
authored
Update workflow.yml
1 parent 86af9f2 commit 7082b9b

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/workflow.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,18 @@ on: [push, pull_request, workflow_dispatch]
44

55
jobs:
66

7-
build:
7+
test:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v2
1111
- name: Build the Docker image
1212
run: docker build -t mcappy/docker-react -f Dockerfile.dev .
13-
14-
test:
15-
runs-on: ubuntu-latest
16-
needs: build
17-
steps:
1813
- name: Run the test cases
1914
run: docker run -e CI=true mcappy/docker-react yarn test
20-
15+
2116
deploy:
2217
runs-on: ubuntu-latest
23-
needs: [build, test]
18+
needs: test
2419
steps:
2520

2621
- name: Checkout source code

0 commit comments

Comments
 (0)