Skip to content

Commit 5e67096

Browse files
author
LamNguyen176
committed
.
1 parent 71de110 commit 5e67096

File tree

1 file changed

+40
-59
lines changed

1 file changed

+40
-59
lines changed

.github/workflows/ci.yml

Lines changed: 40 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,10 @@ jobs:
2020
- name: Setup
2121
uses: ./.github/actions/setup
2222

23-
lint:
24-
runs-on: ubuntu-latest
25-
needs: setup
26-
steps:
27-
- name: Checkout Code
28-
uses: actions/checkout@v3
29-
30-
- name: Run Lint
31-
run: yarn lint
32-
33-
typecheck:
34-
runs-on: ubuntu-latest
35-
needs: setup
36-
steps:
37-
- name: Checkout Code
38-
uses: actions/checkout@v3
39-
40-
- name: Run Type Check
41-
run: yarn typecheck
42-
4323
test:
4424
runs-on: ubuntu-latest
45-
needs: [lint, typecheck]
25+
# needs: [lint, typecheck]
26+
needs: setup
4627
steps:
4728
- name: Checkout Code
4829
uses: actions/checkout@v3
@@ -57,46 +38,46 @@ jobs:
5738
- name: Upload Coverage to Codecov
5839
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.COVERAGE_KEY }} -f coverage/lcov.info
5940

60-
# lint1:
61-
# runs-on: ubuntu-latest
62-
# steps:
63-
# - name: Checkout
64-
# uses: actions/checkout@v3
41+
lint1:
42+
runs-on: ubuntu-latest
43+
steps:
44+
- name: Checkout
45+
uses: actions/checkout@v3
46+
47+
- name: Setup
48+
uses: ./.github/actions/setup
49+
50+
# - name: Set up Node.js
51+
# uses: actions/setup-node@v3
52+
# with:
53+
# node-version-file: .nvmrc
6554
#
66-
# - name: Setup
67-
# uses: ./.github/actions/setup
55+
# - name: Install Yarn
56+
# run: |
57+
# curl -o- -L https://yarnpkg.com/install.sh | bash
58+
## export PATH="$HOME/.yarn/bin:$PATH"
6859
#
69-
## - name: Set up Node.js
70-
## uses: actions/setup-node@v3
71-
## with:
72-
## node-version-file: .nvmrc
73-
##
74-
## - name: Install Yarn
75-
## run: |
76-
## curl -o- -L https://yarnpkg.com/install.sh | bash
77-
### export PATH="$HOME/.yarn/bin:$PATH"
78-
##
79-
## - name: Check for yarn.lock
80-
## run: |
81-
## if [ ! -f yarn.lock ]; then
82-
## echo "yarn.lock file is missing. Please run 'yarn install' to generate one."
83-
## exit 1
84-
## fi
85-
##
86-
## - name: Install dependencies
87-
## run: yarn install
88-
#
89-
# - name: Lint files
90-
# run: yarn lint
91-
#
92-
# - name: Typecheck files
93-
# run: yarn typecheck
94-
#
95-
# - name: Run unit tests
96-
# run: yarn test --maxWorkers=2 --coverage
97-
#
98-
# - name: Upload coverage to Codecov
99-
# run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.COVERAGE_KEY }} -f coverage/lcov.info
60+
# - name: Check for yarn.lock
61+
# run: |
62+
# if [ ! -f yarn.lock ]; then
63+
# echo "yarn.lock file is missing. Please run 'yarn install' to generate one."
64+
# exit 1
65+
# fi
66+
#
67+
# - name: Install dependencies
68+
# run: yarn install
69+
70+
- name: Lint files
71+
run: yarn lint
72+
73+
- name: Typecheck files
74+
run: yarn typecheck
75+
76+
- name: Run unit tests
77+
run: yarn test --maxWorkers=2 --coverage
78+
79+
- name: Upload coverage to Codecov
80+
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.COVERAGE_KEY }} -f coverage/lcov.info
10081

10182
# build-library:
10283
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)