File tree 5 files changed +1028
-767
lines changed
5 files changed +1028
-767
lines changed Original file line number Diff line number Diff line change 4
4
types :
5
5
- synchronize
6
6
- opened
7
+ push :
8
+ branches :
9
+ - main
7
10
8
11
jobs :
9
12
lint :
@@ -45,19 +48,11 @@ jobs:
45
48
run : pnpm install --frozen-lockfile
46
49
- name : Run tests
47
50
run : pnpm test:ci
48
- - name : Generate coverage report
49
- uses : irongut/CodeCoverageSummary@51cc3a756ddcd398d447c044c02cb6aa83fdae95 # v1.3.0
50
- if : ${{ github.actor != 'dependabot[bot]' }}
51
+ - name : Upload coverage reports to Codecov
52
+ uses : codecov/codecov-action@0da7aa657d958d32c117fc47e1f977e7524753c7 # v5.3.0
51
53
with :
52
- filename : coverage/cobertura-coverage.xml
53
- format : markdown
54
- output : file
55
- - name : Add Coverage PR Comment
56
- uses : marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2.9.0
57
- if : ${{ github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' }}
58
- with :
59
- recreate : true
60
- path : code-coverage-results.md
54
+ token : ${{ secrets.CODECOV_TOKEN }}
55
+ slug : saleor/app-sdk
61
56
62
57
build :
63
58
runs-on : ubuntu-22.04
Original file line number Diff line number Diff line change 50
50
"@typescript-eslint/eslint-plugin" : " ^5.36.1" ,
51
51
"@typescript-eslint/parser" : " ^5.36.1" ,
52
52
"@vercel/kv" : " 1.0.0" ,
53
- "@vitejs/plugin-react" : " ^3.0.1 " ,
54
- "@vitest/coverage-c8 " : " ^0.27.2 " ,
53
+ "@vitejs/plugin-react" : " 4.3.4 " ,
54
+ "@vitest/coverage-v8 " : " 3.0.4 " ,
55
55
"clean-publish" : " ^4.0.1" ,
56
56
"eslint" : " 8.23.0" ,
57
57
"eslint-config-airbnb" : " ^19.0.4" ,
77
77
"tsup" : " ^6.2.3" ,
78
78
"typescript" : " 4.9.5" ,
79
79
"vi-fetch" : " ^0.8.0" ,
80
- "vite" : " ^4 .0.4 " ,
81
- "vitest" : " ^0.28.1 "
80
+ "vite" : " 6 .0.11 " ,
81
+ "vitest" : " 3.0.4 "
82
82
},
83
83
"peerDependenciesMeta" : {
84
84
"@vercel/kv" : {
You can’t perform that action at this time.
0 commit comments