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 : Node.js CI
22
3- on : [push ]
3+ on : [pull_request ]
44
55jobs :
66 build :
@@ -12,15 +12,17 @@ jobs:
1212 uses : actions/setup-node@v4
1313 with :
1414 node-version : " 22.15.x"
15- - run : npm ci
16- - run : npm run build --if-present
17- - run : npm test
1815 - run : sudo apt-get update
1916 - run : sudo apt-get install -y tzdata
2017 - run : sudo ln -fs /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime
2118 - run : yarn
2219 - run : yarn test-ci
23- - coveralls/upload :
24- path_to_lcov : " ./reports/coverage/lcov.info"
25- - store_test_results :
26- path : test-results
20+ - name : Coveralls
21+ uses : coverallsapp/github-action@v2
22+ with :
23+ github-token : ${{ secrets.GITHUB_TOKEN }}
24+ path-to-lcov : ./reports/coverage/lcov.info
25+ - name : Upload test results
26+ uses : actions/upload-artifact@v4
27+ with :
28+ name : test-results
Original file line number Diff line number Diff line change 3131 "usePathForSuiteName" : " true"
3232 },
3333 "engines" : {
34- "node" : " ^12.18.1 " ,
35- "yarn" : " ^1.20.0 " ,
36- "npm" : " ^6.0.0 "
34+ "node" : " ^22 " ,
35+ "yarn" : " ^1.22 " ,
36+ "npm" : " ^10 "
3737 },
3838 "lint-staged" : {
3939 "src/**/*.js" : [
You can’t perform that action at this time.
0 commit comments