@@ -20,29 +20,10 @@ jobs:
20
20
- name : Setup
21
21
uses : ./.github/actions/setup
22
22
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
-
43
23
test :
44
24
runs-on : ubuntu-latest
45
- needs : [lint, typecheck]
25
+ # needs: [lint, typecheck]
26
+ needs : setup
46
27
steps :
47
28
- name : Checkout Code
48
29
uses : actions/checkout@v3
@@ -57,46 +38,46 @@ jobs:
57
38
- name : Upload Coverage to Codecov
58
39
run : bash <(curl -s https://codecov.io/bash) -t ${{ secrets.COVERAGE_KEY }} -f coverage/lcov.info
59
40
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
65
54
#
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"
68
59
#
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
100
81
101
82
# build-library:
102
83
# runs-on: ubuntu-latest
0 commit comments