Skip to content

Commit a9b858c

Browse files
committed
ci: Needs job1
1 parent e762343 commit a9b858c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@ jobs:
2828
with:
2929
name: build
3030
path: |
31+
${{ github.workspace }}/packages/**/build
3132
${{ github.workspace }}/packages/**/dist
3233
${{ github.workspace }}/packages/**/esm
3334
3435
job_2:
3536
name: Lint
37+
needs: job_1
3638
runs-on: ubuntu-latest
3739
steps:
3840
- uses: actions/checkout@v2
@@ -47,3 +49,21 @@ jobs:
4749
- uses: actions/download-artifact@v2
4850
- name: Run Linter
4951
run: yarn lint
52+
53+
job_3:
54+
name: Test
55+
needs: job_1
56+
runs-on: ubuntu-latest
57+
steps:
58+
- uses: actions/checkout@v2
59+
- uses: actions/setup-node@v1
60+
- uses: actions/cache@v2
61+
with:
62+
path: |
63+
node_modules
64+
*/*/node_modules
65+
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
66+
- run: yarn install
67+
- uses: actions/download-artifact@v2
68+
- name: Unit Tests
69+
run: yarn test

0 commit comments

Comments
 (0)