File tree Expand file tree Collapse file tree 1 file changed +20
-18
lines changed
Expand file tree Collapse file tree 1 file changed +20
-18
lines changed Original file line number Diff line number Diff line change 77 - uses : actions/checkout@v2
88 - uses : actions/setup-node@v4
99 with :
10- node-version : 16
11- cache : " npm"
12- cache-dependency-path : " **/package-lock.json"
10+ # 최신 노드 버전 사용
11+ node-version : " 22.x"
12+ cache : " pnpm"
13+ cache-dependency-path : " **/pnpm-lock.yaml"
1314 - name : install-root
14- run : npm install
15+ run : pnpm install
1516 - name : install-unit
16- working-directory : ./test/unit
17- run : npm install
17+ working-directory : ./packages/ test-flicking /unit
18+ run : pnpm install
1819 - name : run unit test
19- working-directory : ./test/unit
20- run : npm run coverage
20+ working-directory : ./packages/ test-flicking /unit
21+ run : pnpm run coverage
2122 - name : send coverage
2223 uses : coverallsapp/github-action@master
2324 with :
@@ -32,24 +33,25 @@ jobs:
3233 - uses : actions/checkout@v2
3334 - uses : actions/setup-node@v4
3435 with :
35- node-version : 16
36- cache : " npm"
37- cache-dependency-path : " **/package-lock.json"
36+ # 최신 노드 버전 사용
37+ node-version : " 22.x"
38+ cache : " pnpm"
39+ cache-dependency-path : " **/pnpm-lock.yaml"
3840 - name : install-root
39- run : npm install
41+ run : pnpm install
4042 - name : install-cfc
41- working-directory : ./test/cfc
42- run : npm install
43+ working-directory : ./packages/ test-flicking /cfc
44+ run : pnpm install
4345 - name : run cfc test
44- working-directory : ./test/cfc
45- run : npm run coverage
46+ working-directory : ./packages/ test-flicking /cfc
47+ run : pnpm run coverage
4648 - name : send coverage
4749 uses : coverallsapp/github-action@master
4850 with :
4951 github-token : ${{ secrets.GITHUB_TOKEN }}
5052 flag-name : cfc
51- base-path : ./test/cfc
52- path-to-lcov : ./test/cfc/coverage/lcov.info
53+ base-path : ./packages/ test-flicking /cfc
54+ path-to-lcov : ./packages/ test-flicking /cfc/coverage/lcov.info
5355 parallel : true
5456 teardown :
5557 needs : [unit, cfc]
You can’t perform that action at this time.
0 commit comments