File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Test
2- " on " :
3- push : null
4- pull_request : null
5- env :
6- FORCE_COLOR : 2
2+ on :
3+ push :
4+ pull_request :
75jobs :
86 full :
9- name : Node.js 16 Full
7+ name : Node.js 17 Full
108 runs-on : ubuntu-latest
119 steps :
1210 - name : Checkout the repository
1311 uses : actions/checkout@v2
12+ - name : Install pnpm
13+ uses : pnpm/action-setup@v2
14+ with :
15+ version : latest
1416 - name : Install Node.js
1517 uses : actions/setup-node@v2
1618 with :
1719 node-version : 17
20+ cache : pnpm
1821 - name : Install dependencies
19- uses : bahmutov/npm- install@v1
22+ run : pnpm install --frozen-lockfile --ignore-scripts
2023 - name : Run tests
21- run : yarn test
24+ run : pnpm test
25+ env :
26+ FORCE_COLOR : 2
2227 short :
2328 runs-on : ubuntu-latest
2429 strategy :
@@ -31,11 +36,18 @@ jobs:
3136 steps :
3237 - name : Checkout the repository
3338 uses : actions/checkout@v2
39+ - name : Install pnpm
40+ uses : pnpm/action-setup@v2
41+ with :
42+ version : latest
3443 - name : Install Node.js ${{ matrix.node-version }}
3544 uses : actions/setup-node@v2
3645 with :
3746 node-version : ${{ matrix.node-version }}
47+ cache : pnpm
3848 - name : Install dependencies
39- uses : bahmutov/npm- install@v1
49+ run : pnpm install --frozen-lockfile --ignore-scripts
4050 - name : Run unit tests
41- run : npx jest
51+ run : pnpm unit
52+ env :
53+ FORCE_COLOR : 2
Original file line number Diff line number Diff line change 11node_modules /
2- yarn-error.log
32
4- coverage /
3+ coverage /
Original file line number Diff line number Diff line change 1- yarn-error.log
2- yarn.lock
1+ pnpm-lock.yaml
32
43* .test.js
54coverage /
6- .github /
5+ .github /
Original file line number Diff line number Diff line change 1010 " nested"
1111 ],
1212 "scripts" : {
13+ "unit" : " jest" ,
1314 "test" : " jest --coverage && eslint ."
1415 },
1516 "author" :
" Andrey Sitnik <[email protected] >" ,
You can’t perform that action at this time.
0 commit comments