Skip to content

Commit

Permalink
ci: job build needs setup, static-checking and test job
Browse files Browse the repository at this point in the history
  • Loading branch information
wewoor committed Feb 3, 2021
1 parent b509364 commit 3bd7d78
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Run StyleLint
run: yarn stylelint

build:
test:
runs-on: ubuntu-latest
needs: [setup]
steps:
Expand All @@ -88,12 +88,11 @@ jobs:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/yarn.lock') }}

- name: Run Build
run: yarn build

test:
- name: Run Unit Test
run: yarn test
build:
runs-on: ubuntu-latest
needs: [setup]
needs: [setup, static-checking, test]
steps:
- uses: actions/checkout@v2

Expand All @@ -109,5 +108,5 @@ jobs:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/yarn.lock') }}

- name: Run Unit Test
run: yarn test
- name: Run Build
run: yarn build

0 comments on commit 3bd7d78

Please sign in to comment.