Skip to content

Commit f0d12df

Browse files
committed
try parallel execution
1 parent defd767 commit f0d12df

File tree

1 file changed

+35
-23
lines changed

1 file changed

+35
-23
lines changed

.github/workflows/main.yml

Lines changed: 35 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI
33
on: [push]
44

55
jobs:
6-
build:
6+
install:
77
runs-on: ubuntu-latest
88

99
strategy:
@@ -16,31 +16,43 @@ jobs:
1616
uses: actions/setup-node@v2
1717
with:
1818
node-version: ${{ matrix.node-version }}
19-
- name: install dependencies
19+
- name: Install dependencies
2020
run: |
2121
yarn
22-
- name: run lint
23-
run: |
24-
yarn lint
25-
- name: run tests
26-
run: |
27-
yarn test --watchAll=false --coverage --reporters=default
28-
- name: Upload coverage to Codecov
29-
uses: codecov/[email protected]
30-
with:
31-
token: ${{ secrets.CODECOV_TOKEN }}
32-
- name: build
33-
run: |
34-
yarn build
22+
# - name: run lint
23+
# run: |
24+
# yarn lint
25+
# - name: run tests
26+
# run: |
27+
# yarn test --watchAll=false --coverage --reporters=default
28+
# - name: Upload coverage to Codecov
29+
# uses: codecov/[email protected]
30+
# with:
31+
# token: ${{ secrets.CODECOV_TOKEN }}
32+
# - name: build
33+
# run: |
34+
# yarn build
3535

36-
- name: semantic release
37-
uses: cycjimmy/semantic-release-action@v2
38-
id: semantic
39-
with:
40-
branch: master
41-
extra_plugins: |
42-
@semantic-release/git@v9
43-
@semantic-release/changelog
36+
# - name: semantic release
37+
# uses: cycjimmy/semantic-release-action@v2
38+
# id: semantic
39+
# with:
40+
# branch: master
41+
# extra_plugins: |
42+
# @semantic-release/git@v9
43+
# @semantic-release/changelog
4444
env:
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4646
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
47+
CI: true
48+
lint:
49+
runs-on: ubuntu-latest
50+
needs: [install]
51+
52+
steps:
53+
- name: Running lint
54+
uses: actions/checkout@v2
55+
- name: Lint
56+
run: yarn lint
57+
env:
58+
CI: true

0 commit comments

Comments
 (0)